[CalendarServer-changes] [925] CalendarServer/branches/users/dreid/principalsOnDemand-114/ twistedcaldav/test/test_root.py

source_changes at macosforge.org source_changes at macosforge.org
Thu Jan 4 19:23:04 PST 2007


Revision: 925
          http://trac.macosforge.org/projects/calendarserver/changeset/925
Author:   dreid at apple.com
Date:     2007-01-04 19:23:04 -0800 (Thu, 04 Jan 2007)

Log Message:
-----------
fix test_root, some of these things never make it past the RootResource. and so never get to DPPR.getChild to provision

Modified Paths:
--------------
    CalendarServer/branches/users/dreid/principalsOnDemand-114/twistedcaldav/test/test_root.py

Modified: CalendarServer/branches/users/dreid/principalsOnDemand-114/twistedcaldav/test/test_root.py
===================================================================
--- CalendarServer/branches/users/dreid/principalsOnDemand-114/twistedcaldav/test/test_root.py	2007-01-05 03:14:18 UTC (rev 924)
+++ CalendarServer/branches/users/dreid/principalsOnDemand-114/twistedcaldav/test/test_root.py	2007-01-05 03:23:04 UTC (rev 925)
@@ -67,6 +67,10 @@
             '/principals/',
             directory)
 
+        # Otherwise the tests that never touch the root resource will 
+        # fail on teardown.
+        principals.provision()
+
         root = RootResource(self.docroot, 
                             principalCollections=[principals])
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20070104/2378d064/attachment.html


More information about the calendarserver-changes mailing list