Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: sitescripts/notifications/test/parser.py

Issue 29323360: Noissue - Fix notification range test (Closed)
Patch Set: Noissue - Fix notification range test Created Aug. 7, 2015, 6:37 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sitescripts/notifications/test/parser.py
===================================================================
--- a/sitescripts/notifications/test/parser.py
+++ b/sitescripts/notifications/test/parser.py
@@ -117,8 +117,8 @@
""" % (_format_time(start_time), _format_time(end_time)))
notifications = parser.load_notifications()
self.assertEqual(len(notifications), 1)
- self.assertNotIn(notifications[0], "start")
- self.assertNotIn(notifications[0], "end")
+ self.assertNotIn("start", notifications[0])
+ self.assertNotIn("end", notifications[0])
if __name__ == "__main__":
unittest.main()
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld