on xenial help sign in
The tests only work on devices, so no need for device emulatios scenarios.
957f324Leo Arias
tests/autopilot/unity8/application_lifecycle/tests/test_application_lifecycle.py−4
@@ -31,8 +31,6 @@ from ubuntuuitoolkit import (
31)
31)
32
32
33from unity8.application_lifecycle import tests
33from unity8.application_lifecycle import tests
34−from unity8.shell import disable_qml_mocking
35−from unity8.shell.tests import _get_device_emulation_scenarios
36
34
37
35
38logger = logging.getLogger(__name__)
36logger = logging.getLogger(__name__)
@@ -40,8 +38,6 @@ logger = logging.getLogger(__name__)
40
38
41class ApplicationLifecycleTests(tests.ApplicationLifeCycleTestCase):
39class ApplicationLifecycleTests(tests.ApplicationLifeCycleTestCase):
42
40
43− scenarios = _get_device_emulation_scenarios()
44−
45 def setUp(self):
41 def setUp(self):
46 if model() == 'Desktop':
42 if model() == 'Desktop':
47 self.skipTest('Test cannot be run on the desktop.')
43 self.skipTest('Test cannot be run on the desktop.')
tests/autopilot/unity8/application_lifecycle/tests/test_url_dispatcher.py−2
@@ -28,8 +28,6 @@ from unity8.application_lifecycle import tests
28
28
29class URLDispatcherTestCase(tests.ApplicationLifeCycleTestCase):
29class URLDispatcherTestCase(tests.ApplicationLifeCycleTestCase):
30
30
31− scenarios = tests._get_device_emulation_scenarios()
32−
33 def setUp(self):
31 def setUp(self):
34 if platform.model() == 'Desktop':
32 if platform.model() == 'Desktop':
35 self.skipTest("URL dispatcher doesn't work on the desktop.")
33 self.skipTest("URL dispatcher doesn't work on the desktop.")