on xenial help sign in
Fixed the call to os.path.basename.
bf50afbLeo Arias
tests/autopilot/unity8/application_lifecycle/tests/test_url_dispatcher.py+1−1
@@ -105,7 +105,7 @@ Icon=Not important
105 self.addCleanup(os.system, 'pkill qmlscene')
105 self.addCleanup(os.system, 'pkill qmlscene')
106 os.system(
106 os.system(
107 'url-dispatcher application:///{}'.format(
107 'url-dispatcher application:///{}'.format(
108− os.basename(desktop_file_path)))
108+ os.path.basename(desktop_file_path)))
109 self.assertThat(
109 self.assertThat(
110 self.main_window.get_current_focused_app_id,
110 self.main_window.get_current_focused_app_id,
111 Eventually(Equals('test')))
111 Eventually(Equals('test')))