@@ -24,6 +24,7 @@ import os
24import threading
24import threading
26from autopilot.platform import model
26from autopilot.platform import model
27+from autopilot.application import _launcher
28from unity8 import process_helpers
29from unity8 import process_helpers
29from unity8.application_lifecycle import tests
30from unity8.application_lifecycle import tests
@@ -118,7 +119,7 @@ class ApplicationLifecycleTests(tests.ApplicationLifeCycleTestCase):
119 process_helpers.lock_unity()
120 process_helpers.lock_unity()
121− self.launch_upstart_application(application_name)
122+ self.launch_upstart_application(application_name, [], _launcher.AlreadyLaunchedUpstartLauncher)
122 greeter = self.main_window.get_greeter()
123 greeter = self.main_window.get_greeter()
123 greeter.wait_swiped_away()
124 greeter.wait_swiped_away()
124 process_helpers.unlock_unity()
125 process_helpers.unlock_unity()