I get the same failure on the device as Jenkins sees:
Traceback (most recent call last):
File "/home/phablet/autopilot/calendar_app/tests/test_calendar.py", line 94, in test_new_event
self.main_view.open_toolbar().click_button("todaybutton")
File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
return f(instance, *args, **kwargs)
File "/usr/lib/python3/dist-packages/ubuntuuitoolkit/emulators.py", line 294, in click_button
'Button with objectName "{0}" not found.'.format(object_name))
ubuntuuitoolkit.emulators.ToolkitEmulatorException: Button with objectName "todaybutton" not found.
I also get this failure on the device:
======================================================================
ERROR: unittest.loader.ModuleImportFailure.calendar_app.tests.test_monthview
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/autopilot/run.py", line 420, in _filter_tests
test.debug()
File "/usr/lib/python3.4/unittest/case.py", line 627, in debug
getattr(self, self._testMethodName)()
File "/usr/lib/python3.4/unittest/loader.py", line 32, in testFailure
raise exception
ImportError: Failed to import test module: calendar_app.tests.test_monthview
Traceback (most recent call last):
File "/usr/lib/python3.4/unittest/loader.py", line 312, in _find_tests
module = self._get_module_from_name(name)
File "/usr/lib/python3.4/unittest/loader.py", line 290, in _get_module_from_name
__import__(name)
File "/home/phablet/autopilot/calendar_app/tests/test_monthview.py", line 20, in <module>
from dateutil.relativedelta import relativedelta
ImportError: No module named 'dateutil'
I get the same failure on the device as Jenkins sees:
Traceback (most recent call last): phablet/ autopilot/ calendar_ app/tests/ test_calendar. py", line 94, in test_new_event view.open_ toolbar( ).click_ button( "todaybutton" ) python3/ dist-packages/ autopilot/ logging. py", line 46, in inner python3/ dist-packages/ ubuntuuitoolkit /emulators. py", line 294, in click_button .format( object_ name)) .emulators. ToolkitEmulator Exception: Button with objectName "todaybutton" not found.
File "/home/
self.main_
File "/usr/lib/
return f(instance, *args, **kwargs)
File "/usr/lib/
'Button with objectName "{0}" not found.'
ubuntuuitoolkit
I also get this failure on the device:
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= loader. ModuleImportFai lure.calendar_ app.tests. test_monthview ------- ------- ------- ------- ------- ------- ------- ------- ------- python3/ dist-packages/ autopilot/ run.py" , line 420, in _filter_tests python3. 4/unittest/ case.py" , line 627, in debug dName)( ) python3. 4/unittest/ loader. py", line 32, in testFailure app.tests. test_monthview python3. 4/unittest/ loader. py", line 312, in _find_tests module_ from_name( name) python3. 4/unittest/ loader. py", line 290, in _get_module_ from_name phablet/ autopilot/ calendar_ app/tests/ test_monthview. py", line 20, in <module> relativedelta import relativedelta
ERROR: unittest.
-------
Traceback (most recent call last):
File "/usr/lib/
test.debug()
File "/usr/lib/
getattr(self, self._testMetho
File "/usr/lib/
raise exception
ImportError: Failed to import test module: calendar_
Traceback (most recent call last):
File "/usr/lib/
module = self._get_
File "/usr/lib/
__import__(name)
File "/home/
from dateutil.
ImportError: No module named 'dateutil'