Exemplo n.º 1
0
 def test_mark_notification_as_read_for_difference_notifications(self):
     mark_notification_as_read(key=2, cls="DifferenceNotification")
     self.assertFalse(DifferenceNotification.objects.get(id=2).unread)
Exemplo n.º 2
0
 def test_mark_notification_as_read_for_difference_notifications(self):
     mark_notification_as_read(key=2, cls="DifferenceNotification")
     self.assertFalse(DifferenceNotification.objects.get(id=2).unread)
Exemplo n.º 3
0
 def test_mark_notification_as_read_for_tip_notifications(self):
     mark_notification_as_read(key=2, cls="TipNotification")
     self.assertFalse(TipNotification.objects.get(id=2).unread)
Exemplo n.º 4
0
 def test_mark_notification_as_read_for_tip_notifications(self):
     mark_notification_as_read(key=2, cls="TipNotification")
     self.assertFalse(TipNotification.objects.get(id=2).unread)