on xenial help sign in
Autopilot: Style fixes
commit534d489e76513fd4510c63e5097bdb65a94f42d0 authorVictor R. Ruiz <victor.ruiz@canonical.com> dateWed 16 Apr 2014, 19:23 (13 years ago) parente8376ff
2 files changed+9−10
tests/autopilot/unity8/shell/__init__.py+7−8 tests/autopilot/unity8/shell/tests/test_notifications.py+2−2
tests/autopilot/unity8/shell/__init__.py+7−8
@@ -82,14 +82,13 @@ def create_ephemeral_notification(
8282):
8383 """Create an ephemeral (non-interactive) notification
8484
85− :param summary: Summary text for the notification
86− :param body: Body text to display in the notification
87− :param icon: Path string to the icon to use
88− :param hint_strings: List of tuples containing the 'name' and value
89− for setting the hint strings for the notification
90− :param urgency: Urgency string for the noticiation, either: 'LOW',
91− 'NORMAL', 'CRITICAL'
92−
85+ :param summary: Summary text for the notification
86+ :param body: Body text to display in the notification
87+ :param icon: Path string to the icon to use
88+ :param hint_strings: List of tuples containing the 'name' and value
89+ for setting the hint strings for the notification
90+ :param urgency: Urgency string for the noticiation, either: 'LOW',
91+ 'NORMAL', 'CRITICAL'
9392 """
9493 Notify.init('Unity8')
9594
tests/autopilot/unity8/shell/tests/test_notifications.py+2−2
@@ -65,8 +65,8 @@ class NotificationsBase(UnityTestCase):
6565 if os.path.abspath(__file__).startswith('/usr/'):
6666 return '/usr/share/unity8/graphics/' + icon_name
6767 else:
68− return os.path.dirname(__file__) + \
69− "/../../../../../qml/graphics/" + icon_name
68+ return os.path.dirname(__file__) + (
69+ "/../../../../../qml/graphics/" + icon_name)
7070
7171 def _get_notifications_list(self):
7272 return self.main_window.select_single(