on xenial help sign in
Adapt to Chris' patch
commitdd1bc3af31bda5fca59a4bc3c31c859982128ccd authorAlbert Astals Cid <albert.astals@canonical.com> dateWed 2 Sep 2015, 10:45 (11 years ago) parenta23e21d
1 file changed+2−4
tests/autopilot/unity8/application_lifecycle/tests/test_application_lifecycle.py+2−4
tests/autopilot/unity8/application_lifecycle/tests/test_application_lifecycle.py+2−4
@@ -24,6 +24,7 @@ import os
2424import threading
2525
2626from autopilot.platform import model
27+from autopilot.application import _launcher
2728
2829from unity8 import process_helpers
2930from unity8.application_lifecycle import tests
@@ -118,10 +119,7 @@ class ApplicationLifecycleTests(tests.ApplicationLifeCycleTestCase):
118119
119120 process_helpers.lock_unity()
120121
121− # Don't wait for the proxy since the application is
122− # already launched and sleeping because the greeter is on
123− # so waiting for the proxy will never happen
124− self.launch_upstart_application(application_name, [], False)
122+ self.launch_upstart_application(application_name, [], _launcher.AlreadyLaunchedUpstart)
125123 greeter = self.main_window.get_greeter()
126124 greeter.wait_swiped_away()
127125 process_helpers.unlock_unity()