Un-approving. On my desktop, this breaks running one single test case. Running all test cases in one given file/class still works, but passing the fully-qualified name of a test case (e.g. webbrowser_app.tests.test_tabs.TestTabsView.test_switch_tabs) to `autopilot3 run` fails with the following error:
Traceback (most recent call last):
File "/home/osomon/dev/phablet/browser/webbrowser-app/tests/autopilot/webbrowser_app/tests/test_tabs.py", line 36, in setUp
super(TestTabsView, self).setUp()
File "/home/osomon/dev/phablet/browser/webbrowser-app/tests/autopilot/webbrowser_app/tests/__init__.py", line 188, in setUp
self.assert_home_page_eventually_loaded()
File "/home/osomon/dev/phablet/browser/webbrowser-app/tests/autopilot/webbrowser_app/tests/__init__.py", line 191, in assert_home_page_eventually_loaded
self.main_window.wait_until_page_loaded(self.url)
File "/home/osomon/dev/phablet/browser/webbrowser-app/tests/autopilot/webbrowser_app/tests/__init__.py", line 109, in main_window
return self.app.main_window
File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 416, in __getattr__
(self.__class__.__name__, name))
AttributeError: Class 'webbrowser-app' has no attribute 'main_window'.
Un-approving. On my desktop, this breaks running one single test case. Running all test cases in one given file/class still works, but passing the fully-qualified name of a test case (e.g. webbrowser_ app.tests. test_tabs. TestTabsView. test_switch_ tabs) to `autopilot3 run` fails with the following error:
Traceback (most recent call last): osomon/ dev/phablet/ browser/ webbrowser- app/tests/ autopilot/ webbrowser_ app/tests/ test_tabs. py", line 36, in setUp TestTabsView, self).setUp() osomon/ dev/phablet/ browser/ webbrowser- app/tests/ autopilot/ webbrowser_ app/tests/ __init_ _.py", line 188, in setUp assert_ home_page_ eventually_ loaded( ) osomon/ dev/phablet/ browser/ webbrowser- app/tests/ autopilot/ webbrowser_ app/tests/ __init_ _.py", line 191, in assert_ home_page_ eventually_ loaded main_window. wait_until_ page_loaded( self.url) osomon/ dev/phablet/ browser/ webbrowser- app/tests/ autopilot/ webbrowser_ app/tests/ __init_ _.py", line 109, in main_window main_window python3/ dist-packages/ autopilot/ introspection/ dbus.py" , line 416, in __getattr__ __class_ _.__name_ _, name))
File "/home/
super(
File "/home/
self.
File "/home/
self.
File "/home/
return self.app.
File "/usr/lib/
(self.
AttributeError: Class 'webbrowser-app' has no attribute 'main_window'.