Exemple #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)
Exemple #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)
Exemple #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)
Exemple #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)