[CalendarServer-changes] [12937] CalendarServer/branches/users/sagen/move2who-4/twistedcaldav/test/ test_wrapping.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Mar 18 11:25:49 PDT 2014


Revision: 12937
          http://trac.calendarserver.org//changeset/12937
Author:   sagen at apple.com
Date:     2014-03-18 11:25:49 -0700 (Tue, 18 Mar 2014)
Log Message:
-----------
Fix more tests

Modified Paths:
--------------
    CalendarServer/branches/users/sagen/move2who-4/twistedcaldav/test/test_wrapping.py

Modified: CalendarServer/branches/users/sagen/move2who-4/twistedcaldav/test/test_wrapping.py
===================================================================
--- CalendarServer/branches/users/sagen/move2who-4/twistedcaldav/test/test_wrapping.py	2014-03-18 18:24:28 UTC (rev 12936)
+++ CalendarServer/branches/users/sagen/move2who-4/twistedcaldav/test/test_wrapping.py	2014-03-18 18:25:49 UTC (rev 12937)
@@ -206,8 +206,10 @@
         Verify that the C{_principalCollections} attribute of the given
         L{Resource} is accurately set.
         """
-        self.assertEquals(resource._principalCollections,
-                          frozenset([self.principalsResource]))
+        self.assertEquals(
+            resource._principalCollections,
+            frozenset([self.actualRoot.getChild("principals")])
+        )
 
 
     @inlineCallbacks
@@ -423,7 +425,7 @@
         Creating a AddressBookHomeProvisioningFile will create a paired
         AddressBookStore.
         """
-        assertProvides(self, IDataStore, self.addressbookCollection._newStore)
+        assertProvides(self, IDataStore, self.actualRoot.getChild("addressbooks")._newStore)
 
 
     @inlineCallbacks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140318/a28af548/attachment.html>


More information about the calendarserver-changes mailing list