I built a package from this MR, installed on my raring desktop, and tried to run the autopilot tests for lp:webbrowser-app.
Listing the tests fails with the following error:
ImportError: cannot import name QtIntrospectionTestMixin
but can be easily fixed by simply removing this import, and not inheriting from QtIntrospectionTestMixin.
Running the tests fails with the following error:
_StringException: Traceback (most recent call last):
File "/tmp/webbrowser-app/tests/autopilot/webbrowser_app/tests/test_mainwindow.py", line 263, in setUp
super(TestMainWindowStartOpenRemotePageBase, self).setUp()
File "/tmp/webbrowser-app/tests/autopilot/webbrowser_app/tests/__init__.py", line 161, in setUp
super(BrowserTestCaseBaseWithHTTPServer, self).setUp()
File "/tmp/webbrowser-app/tests/autopilot/webbrowser_app/tests/__init__.py", line 45, in setUp
self.launch_test_local()
File "/tmp/webbrowser-app/tests/autopilot/webbrowser_app/tests/__init__.py", line 62, in launch_test_local
*self.ARGS)
File "/usr/lib/python2.7/dist-packages/autopilot/testcase.py", line 450, in launch_test_application
process = launch_application(launcher, application, *arguments, **kwargs)
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 80, in launch_application
path, args = launcher.prepare_environment(application, list(arguments))
AttributeError: 'NoneType' object has no attribute 'prepare_environment'
I built a package from this MR, installed on my raring desktop, and tried to run the autopilot tests for lp:webbrowser-app.
Listing the tests fails with the following error:
ImportError: cannot import name QtIntrospection TestMixin
but can be easily fixed by simply removing this import, and not inheriting from QtIntrospection TestMixin.
Running the tests fails with the following error:
_StringException: Traceback (most recent call last): r-app/tests/ autopilot/ webbrowser_ app/tests/ test_mainwindow .py", line 263, in setUp TestMainWindowS tartOpenRemoteP ageBase, self).setUp() r-app/tests/ autopilot/ webbrowser_ app/tests/ __init_ _.py", line 161, in setUp BrowserTestCase BaseWithHTTPSer ver, self).setUp() r-app/tests/ autopilot/ webbrowser_ app/tests/ __init_ _.py", line 45, in setUp launch_ test_local( ) r-app/tests/ autopilot/ webbrowser_ app/tests/ __init_ _.py", line 62, in launch_test_local python2. 7/dist- packages/ autopilot/ testcase. py", line 450, in launch_ test_applicatio n application( launcher, application, *arguments, **kwargs) python2. 7/dist- packages/ autopilot/ introspection/ __init_ _.py", line 80, in launch_application prepare_ environment( application, list(arguments)) environment'
File "/tmp/webbrowse
super(
File "/tmp/webbrowse
super(
File "/tmp/webbrowse
self.
File "/tmp/webbrowse
*self.ARGS)
File "/usr/lib/
process = launch_
File "/usr/lib/
path, args = launcher.
AttributeError: 'NoneType' object has no attribute 'prepare_
Looks like a problem in autopilot itself.