示例#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)
示例#2
0
文件: tests.py 项目: jorgii/fuck-book
 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)
示例#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)
示例#4
0
文件: tests.py 项目: jorgii/fuck-book
 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)