@@ -119,8 +119,6 @@ class InteractiveNotificationBase(NotificationsBase):
119 def test_interactive(self):
119 def test_interactive(self):
120 """Interactive notification must react upon click on itself."""
120 """Interactive notification must react upon click on itself."""
121 self.launch_unity()
121 self.launch_unity()
122− greeter = self.main_window.get_greeter()
125 notify_list = self._get_notifications_list()
123 notify_list = self._get_notifications_list()
@@ -158,8 +156,6 @@ class InteractiveNotificationBase(NotificationsBase):
158 def test_sd_incoming_call(self):
156 def test_sd_incoming_call(self):
159 """Rejecting a call should make notification expand and offer more options."""
157 """Rejecting a call should make notification expand and offer more options."""
160 self.launch_unity()
158 self.launch_unity()
161− greeter = self.main_window.get_greeter()
164 notify_list = self._get_notifications_list()
160 notify_list = self._get_notifications_list()
@@ -334,8 +330,6 @@ class EphemeralNotificationsTests(NotificationsBase):
334 def test_icon_summary_body(self):
330 def test_icon_summary_body(self):
335 """Notification must display the expected summary and body text."""
331 """Notification must display the expected summary and body text."""
336 self.launch_unity()
332 self.launch_unity()
337− greeter = self.main_window.get_greeter()
340 notify_list = self._get_notifications_list()
334 notify_list = self._get_notifications_list()
@@ -368,8 +362,6 @@ class EphemeralNotificationsTests(NotificationsBase):
368 def test_icon_summary(self):
362 def test_icon_summary(self):
369 """Notification must display the expected summary and secondary icon."""
363 """Notification must display the expected summary and secondary icon."""
370 self.launch_unity()
364 self.launch_unity()
371− greeter = self.main_window.get_greeter()
374 notify_list = self._get_notifications_list()
366 notify_list = self._get_notifications_list()
@@ -406,8 +398,6 @@ class EphemeralNotificationsTests(NotificationsBase):
406 def test_urgency_order(self):
398 def test_urgency_order(self):
407 """Notifications must be displayed in order according to their urgency."""
399 """Notifications must be displayed in order according to their urgency."""
408 self.launch_unity()
400 self.launch_unity()
409− greeter = self.main_window.get_greeter()
412 notify_list = self._get_notifications_list()
402 notify_list = self._get_notifications_list()
@@ -497,8 +487,6 @@ class EphemeralNotificationsTests(NotificationsBase):
497 def test_summary_and_body(self):
487 def test_summary_and_body(self):
498 """Notification must display the expected summary- and body-text."""
488 """Notification must display the expected summary- and body-text."""
499 self.launch_unity()
489 self.launch_unity()
500− greeter = self.main_window.get_greeter()
503 notify_list = self._get_notifications_list()
491 notify_list = self._get_notifications_list()
@@ -523,8 +511,6 @@ class EphemeralNotificationsTests(NotificationsBase):
523 def test_summary_only(self):
511 def test_summary_only(self):
524 """Notification must display only the expected summary-text."""
512 """Notification must display only the expected summary-text."""
525 self.launch_unity()
513 self.launch_unity()
526− greeter = self.main_window.get_greeter()
529 notify_list = self._get_notifications_list()
515 notify_list = self._get_notifications_list()
@@ -542,8 +528,6 @@ class EphemeralNotificationsTests(NotificationsBase):
542 def test_update_notification_same_layout(self):
528 def test_update_notification_same_layout(self):
543 """Notification must allow updating its contents while being displayed."""
529 """Notification must allow updating its contents while being displayed."""
544 self.launch_unity()
530 self.launch_unity()
545− greeter = self.main_window.get_greeter()
548 notify_list = self._get_notifications_list()
532 notify_list = self._get_notifications_list()
@@ -581,8 +565,6 @@ class EphemeralNotificationsTests(NotificationsBase):
581 def test_update_notification_layout_change(self):
565 def test_update_notification_layout_change(self):
582 """Notification must allow updating its contents and layout while being displayed."""
566 """Notification must allow updating its contents and layout while being displayed."""
583 self.launch_unity()
567 self.launch_unity()
584− greeter = self.main_window.get_greeter()
587 notify_list = self._get_notifications_list()
569 notify_list = self._get_notifications_list()
@@ -627,8 +609,6 @@ class EphemeralNotificationsTests(NotificationsBase):
627 def test_append_hint(self):
609 def test_append_hint(self):
628 """Notification has to accumulate body-text using append-hint."""
610 """Notification has to accumulate body-text using append-hint."""
629 self.launch_unity()
611 self.launch_unity()
630− greeter = self.main_window.get_greeter()
633 notify_list = self._get_notifications_list()
613 notify_list = self._get_notifications_list()