[CalendarServer-changes] [4453] CalendarServer/branches/users/wsanchez/deployment/twistedcaldav/test /test_cache.py
source_changes at macosforge.org
source_changes at macosforge.org
Fri Jul 10 10:59:19 PDT 2009
Revision: 4453
http://trac.macosforge.org/projects/calendarserver/changeset/4453
Author: sagen at apple.com
Date: 2009-07-10 10:59:19 -0700 (Fri, 10 Jul 2009)
Log Message:
-----------
Clean up un-fired DelayedCalls at tearDown( )
Modified Paths:
--------------
CalendarServer/branches/users/wsanchez/deployment/twistedcaldav/test/test_cache.py
Modified: CalendarServer/branches/users/wsanchez/deployment/twistedcaldav/test/test_cache.py
===================================================================
--- CalendarServer/branches/users/wsanchez/deployment/twistedcaldav/test/test_cache.py 2009-07-10 17:40:06 UTC (rev 4452)
+++ CalendarServer/branches/users/wsanchez/deployment/twistedcaldav/test/test_cache.py 2009-07-10 17:59:19 UTC (rev 4453)
@@ -116,6 +116,8 @@
def tearDown(self):
+ for call in self.memcache._timeouts.itervalues():
+ call.cancel()
MemcacheChangeNotifier._memcacheProtocol = None
@@ -361,6 +363,9 @@
self.memcacheStub = memcacheStub
+ def tearDown(self):
+ for call in self.memcacheStub._timeouts.itervalues():
+ call.cancel()
def test_givenURIsForKeys(self):
expected_response = (200, Headers({}), "Foobarbaz")
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20090710/dfab3256/attachment.html>
More information about the calendarserver-changes
mailing list