@@ -718,72 +718,3 @@ class EphemeralNotificationsTests(NotificationsBase):
718 self.assertThat(get_notification, Eventually(NotEquals(None)))
718 self.assertThat(get_notification, Eventually(NotEquals(None)))
719 self._assert_notification(
719 self._assert_notification(
720 get_notification(), summary, body, False, False, 1.0)
720 get_notification(), summary, body, False, False, 1.0)
722− def test_append_hint(self):
723− """Notification has to accumulate body-text using append-hint."""
724− unity_proxy = self.launch_unity()
725− unlock_unity(unity_proxy)
727− notify_list = self._get_notifications_list()
729− summary = 'Cole Raby'
730− body = 'Hey Bro Coly!'
731− icon_path = self._get_icon_path('avatars/amanda.png')
733− notification = shell.create_ephemeral_notification(
737− hints=[('x-canonical-append', 'true')]
742− get_notification = lambda: notify_list.wait_select_single(
743− 'Notification', objectName='notification1')
745− notification = get_notification()
746− self._assert_notification(
757− 'Did you watch the air-race in Oshkosh last week?',
758− 'Phil owned the place like no one before him!',
759− 'Did really everything in the race work according to regulations?',
760− 'Somehow I think to remember Burt Williams did cut corners and '
761− 'was not punished for this.',
762− 'Hopefully the referees will watch the videos of the race.',
763− 'Burt could get fined with US$ 50000 for that rule-violation :)'
766− for new_body in bodies:
768− body_sum += '\n' + body
769− notification = shell.create_ephemeral_notification(
773− hints=[('x-canonical-append', 'true')]
777− get_notification = lambda: notify_list.wait_select_single(
779− objectName='notification1'
781− notification = get_notification()
782− self._assert_notification(