[CalendarServer-changes] [14222] CalendarServer/trunk/contrib/od/test/test_live.py

source_changes at macosforge.org source_changes at macosforge.org
Thu Dec 11 11:36:57 PST 2014


Revision: 14222
          http://trac.calendarserver.org//changeset/14222
Author:   sagen at apple.com
Date:     2014-12-11 11:36:57 -0800 (Thu, 11 Dec 2014)
Log Message:
-----------
Add a tearDown for autorelease pool delete

Modified Paths:
--------------
    CalendarServer/trunk/contrib/od/test/test_live.py

Modified: CalendarServer/trunk/contrib/od/test/test_live.py
===================================================================
--- CalendarServer/trunk/contrib/od/test/test_live.py	2014-12-11 18:57:33 UTC (rev 14221)
+++ CalendarServer/trunk/contrib/od/test/test_live.py	2014-12-11 19:36:57 UTC (rev 14222)
@@ -73,7 +73,10 @@
         def setUp(self):
             self.service = DirectoryService()
 
+        def tearDown(self):
+            self.service._deletePool()
 
+
         def verifyResults(self, records, expected, unexpected):
             shortNames = []
             for record in records:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20141211/531cd3ad/attachment.html>


More information about the calendarserver-changes mailing list