[CalendarServer-changes] [11705] CalendarServer/branches/users/glyph/log-cleanups/twext/python/test/ test_log.py
source_changes at macosforge.org
source_changes at macosforge.org
Tue Sep 17 16:02:20 PDT 2013
Revision: 11705
http://trac.calendarserver.org//changeset/11705
Author: glyph at apple.com
Date: 2013-09-17 16:02:20 -0700 (Tue, 17 Sep 2013)
Log Message:
-----------
coding standard: vertical whitespace
Modified Paths:
--------------
CalendarServer/branches/users/glyph/log-cleanups/twext/python/test/test_log.py
Modified: CalendarServer/branches/users/glyph/log-cleanups/twext/python/test/test_log.py
===================================================================
--- CalendarServer/branches/users/glyph/log-cleanups/twext/python/test/test_log.py 2013-09-17 23:02:19 UTC (rev 11704)
+++ CalendarServer/branches/users/glyph/log-cleanups/twext/python/test/test_log.py 2013-09-17 23:02:20 UTC (rev 11705)
@@ -817,17 +817,22 @@
def test_shouldLogEvent_noFilters(self):
self.assertEquals(self.filterWith(), [0, 1, 2, 3])
+
def test_shouldLogEvent_noFilter(self):
self.assertEquals(self.filterWith("notTwo"), [0, 1, 3])
+
def test_shouldLogEvent_yesFilter(self):
self.assertEquals(self.filterWith("twoPlus"), [0, 1, 2, 3])
+
def test_shouldLogEvent_yesNoFilter(self):
self.assertEquals(self.filterWith("twoPlus", "no"), [2, 3])
+
def test_shouldLogEvent_yesYesNoFilter(self):
- self.assertEquals(self.filterWith("twoPlus", "twoMinus", "no"), [0, 1, 2, 3])
+ self.assertEquals(self.filterWith("twoPlus", "twoMinus", "no"),
+ [0, 1, 2, 3])
def test_shouldLogEvent_badPredicateResult(self):
self.assertRaises(TypeError, self.filterWith, "bogus")
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130917/a4e3a09a/attachment-0001.html>
More information about the calendarserver-changes
mailing list