[CalendarServer-changes] [6282] CalendarServer/trunk/twistedcaldav/directory/test/test_principal.py

source_changes at macosforge.org source_changes at macosforge.org
Mon Sep 13 11:49:45 PDT 2010


Revision: 6282
          http://trac.macosforge.org/projects/calendarserver/changeset/6282
Author:   sagen at apple.com
Date:     2010-09-13 11:49:44 -0700 (Mon, 13 Sep 2010)
Log Message:
-----------
Assign augments.AugmentService before creating directory service

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/directory/test/test_principal.py

Modified: CalendarServer/trunk/twistedcaldav/directory/test/test_principal.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/directory/test/test_principal.py	2010-09-13 18:16:50 UTC (rev 6281)
+++ CalendarServer/trunk/twistedcaldav/directory/test/test_principal.py	2010-09-13 18:49:44 UTC (rev 6282)
@@ -45,6 +45,7 @@
     def setUp(self):
         super(ProvisionedPrincipals, self).setUp()
 
+        augment.AugmentService = augment.AugmentXMLDB(xmlFiles=(augmentsFile.path,))
         self.directoryServices = (
             XMLDirectoryService(
                 {
@@ -65,7 +66,6 @@
 
             self.principalRootResources[directory.__class__.__name__] = provisioningResource
 
-        augment.AugmentService = augment.AugmentXMLDB(xmlFiles=(augmentsFile.path,))
         calendaruserproxy.ProxyDBService = calendaruserproxy.ProxySqliteDB(os.path.abspath(self.mktemp()))
 
     def test_hierarchy(self):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100913/51064b4a/attachment-0001.html>


More information about the calendarserver-changes mailing list