Fixed the failure of notification autopilot-test test_sd_incoming_call.
commit551c7080e0d3af2e7a0e7ec52d3ca1e297d2708b
authorMirco Müller <mirco.mueller@ubuntu.com>
dateWed 29 Jan 2014, 16:10 (13 years ago)
parent604e784ecd25db
tests/autopilot/unity8/shell/tests/test_notifications.py+1−3
@@ -58,9 +58,7 @@ class NotificationsBase(UnityTestCase):
5858 if os.path.abspath(__file__).startswith('/usr/'):
5959 return '/usr/share/unity8/graphics/' + icon_name
6060 else:
61− return os.path.abspath(
62− os.getcwd() + "../../qml/graphics/" + icon_name
63− )
61+ return os.path.dirname(__file__) + "/../../../../../qml/graphics/" + icon_name
6462
6563 def _get_notifications_list(self):
6664 main_view = self.main_window.get_qml_view()