on xenial help sign in
Kill the camera process after the test.
commit5d23db58f92c5150fbc16abb3f7a15680559c03b authorLeo Arias <leo.arias@canonical.com> dateThu 6 Feb 2014, 16:13 (13 years ago) parent6414ab0
1 file changed+1
tests/autopilot/unity8/application_lifecycle/tests/test_url_dispatcher.py+1
tests/autopilot/unity8/application_lifecycle/tests/test_url_dispatcher.py+1
@@ -48,6 +48,7 @@ class URLDispatcherTestCase(tests.UnityTestCase):
4848 # is already a depedency for other tests, so it's not that bad to use
4949 # it until the url-dispatcher implements the testability features to
5050 # let us launch a fake app. --elopio - 2014-02-05
51+ self.addCleanup(os.system, 'pkill camera-app')
5152 os.system('url-dispatcher application:///camera-app.desktop')
5253 self.assertThat(
5354 self.main_window.get_current_focused_app_id,