on xenial help sign in
Kill the camera process after the test.
5d23db5Leo Arias
tests/autopilot/unity8/application_lifecycle/tests/test_url_dispatcher.py+1
@@ -48,6 +48,7 @@ class URLDispatcherTestCase(tests.UnityTestCase):
48 # is already a depedency for other tests, so it's not that bad to use
48 # is already a depedency for other tests, so it's not that bad to use
49 # it until the url-dispatcher implements the testability features to
49 # it until the url-dispatcher implements the testability features to
50 # let us launch a fake app. --elopio - 2014-02-05
50 # let us launch a fake app. --elopio - 2014-02-05
51+ self.addCleanup(os.system, 'pkill camera-app')
51 os.system('url-dispatcher application:///camera-app.desktop')
52 os.system('url-dispatcher application:///camera-app.desktop')
52 self.assertThat(
53 self.assertThat(
53 self.main_window.get_current_focused_app_id,
54 self.main_window.get_current_focused_app_id,