[CalendarServer-changes] [11488] CalendarServer/branches/users/glyph/hang-fix/twext/web2/test/ test_metafd.py
source_changes at macosforge.org
source_changes at macosforge.org
Fri Jul 5 17:43:32 PDT 2013
Revision: 11488
http://trac.calendarserver.org//changeset/11488
Author: glyph at apple.com
Date: 2013-07-05 17:43:32 -0700 (Fri, 05 Jul 2013)
Log Message:
-----------
Trailing spaces.
Modified Paths:
--------------
CalendarServer/branches/users/glyph/hang-fix/twext/web2/test/test_metafd.py
Modified: CalendarServer/branches/users/glyph/hang-fix/twext/web2/test/test_metafd.py
===================================================================
--- CalendarServer/branches/users/glyph/hang-fix/twext/web2/test/test_metafd.py 2013-07-06 00:43:30 UTC (rev 11487)
+++ CalendarServer/branches/users/glyph/hang-fix/twext/web2/test/test_metafd.py 2013-07-06 00:43:32 UTC (rev 11488)
@@ -161,21 +161,21 @@
is simply being reported late, and the master has given the worker some
work to do before it reports its initial status.
"""
-
+
cl = ConnectionLimiter(2, 20)
-
+
# "0" Zeroing out does not overwrite legitimate count
self.assertEqual(cl.statusFromMessage(None, "0"), 0)
self.assertEqual(cl.statusFromMessage(0, "0"), 0)
self.assertEqual(cl.statusFromMessage(1, "0"), 1)
self.assertEqual(cl.statusFromMessage(2, "0"), 2)
-
+
# "-" No negative counts
self.assertEqual(cl.statusFromMessage(None, "-"), 0)
self.assertEqual(cl.statusFromMessage(0, "-"), 0)
self.assertEqual(cl.statusFromMessage(1, "-"), 0)
self.assertEqual(cl.statusFromMessage(2, "-"), 1)
-
+
# "+" No change
self.assertEqual(cl.statusFromMessage(None, "+"), 0)
self.assertEqual(cl.statusFromMessage(0, "+"), 0)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130705/5578a95b/attachment.html>
More information about the calendarserver-changes
mailing list