on xenial help sign in
Brough back the is_launcher_open.
1ff9280Leo Arias
tests/autopilot/unity8/shell/emulators/main_window.py+3
@@ -152,3 +152,6 @@ class QQuickView(emulators.UnityEmulatorBase):
152
152
153 def _get_launcher(self):
153 def _get_launcher(self):
154 return self.select_single(Launcher)
154 return self.select_single(Launcher)
155+
156+ def is_launcher_open(self):
157+ return self._get_launcher().shown
tests/autopilot/unity8/shell/tests/test_emulators.py+1−4
@@ -34,10 +34,7 @@ except ImportError:
34
34
35from unity8 import process_helpers
35from unity8 import process_helpers
36from unity8.shell import emulators, fixture_setup, tests
36from unity8.shell import emulators, fixture_setup, tests
37−from unity8.shell.emulators import (
37+from unity8.shell.emulators import dash as dash_emulators
38− dash as dash_emulators,
39− launcher as launcher_emulator
40−)
41
38
42
39
43class MainWindowTestCase(tests.UnityTestCase):
40class MainWindowTestCase(tests.UnityTestCase):