on xenial help sign in
Unlock using the process helper, to get retries.
commit216c5e33f160e906a2d36807ec0a0987bec64fc3 authorLeo Arias <leo.arias@canonical.com> dateThu 9 Jan 2014, 15:30 (13 years ago) parentaf4c64b
1 file changed+3−2
tests/autopilot/unity8/shell/tests/test_emulators.py+3−2
tests/autopilot/unity8/shell/tests/test_emulators.py+3−2
@@ -19,6 +19,7 @@
1919
2020import mock
2121
22+from unity8 import process_helpers
2223from unity8.shell import emulators, tests
2324from unity8.shell.emulators import dash as dash_emulators
2425
@@ -29,8 +30,8 @@ class DashEmulatorTestCase(tests.UnityTestCase):
2930
3031 def setUp(self):
3132 super(DashEmulatorTestCase, self).setUp()
32− self.launch_unity()
33− self.main_window.get_greeter().swipe()
33+ unity_proxy = self.launch_unity()
34+ process_helpers.unlock_unity(unity_proxy)
3435 self.dash = self.main_window.get_dash()
3536
3637 def test_open_unexisting_scope(self):