[CalendarServer-changes] [8008] CalendarServer/trunk/calendarserver/tools/test/test_purge_old_events .py

source_changes at macosforge.org source_changes at macosforge.org
Tue Aug 23 08:16:29 PDT 2011


Revision: 8008
          http://trac.macosforge.org/projects/calendarserver/changeset/8008
Author:   sagen at apple.com
Date:     2011-08-23 08:16:28 -0700 (Tue, 23 Aug 2011)
Log Message:
-----------
Update test to reflect new home-deletion behavior in calendarserver_purge_principals.

Modified Paths:
--------------
    CalendarServer/trunk/calendarserver/tools/test/test_purge_old_events.py

Modified: CalendarServer/trunk/calendarserver/tools/test/test_purge_old_events.py
===================================================================
--- CalendarServer/trunk/calendarserver/tools/test/test_purge_old_events.py	2011-08-23 04:45:22 UTC (rev 8007)
+++ CalendarServer/trunk/calendarserver/tools/test/test_purge_old_events.py	2011-08-23 15:16:28 UTC (rev 8008)
@@ -539,9 +539,9 @@
         self.assertEquals(total, 2)
 
         txn = self._sqlCalendarStore.newTransaction()
+        # adressbook home is deleted since it's now empty
         abHome = (yield txn.addressbookHomeWithUID("home1"))
-        abColl = (yield abHome.addressbookWithName("addressbook"))
-        self.assertEquals(abColl, None)
+        self.assertEquals(abHome, None)
 
         calHome = (yield txn.calendarHomeWithUID("home1"))
         calColl = (yield calHome.calendarWithName("calendar1"))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110823/295a0038/attachment.html>


More information about the calendarserver-changes mailing list