[CalendarServer-changes] [10588] CalendarServer/branches/users/glyph/unshare-when-access-revoked
source_changes at macosforge.org
source_changes at macosforge.org
Mon Jan 28 19:29:15 PST 2013
Revision: 10588
http://trac.calendarserver.org//changeset/10588
Author: glyph at apple.com
Date: 2013-01-28 19:29:15 -0800 (Mon, 28 Jan 2013)
Log Message:
-----------
Use directoryFixture, don't depend on setting directoryService attribute.
Modified Paths:
--------------
CalendarServer/branches/users/glyph/unshare-when-access-revoked/twistedcaldav/directory/test/test_directory.py
Property Changed:
----------------
CalendarServer/branches/users/glyph/unshare-when-access-revoked/
Modified: CalendarServer/branches/users/glyph/unshare-when-access-revoked/twistedcaldav/directory/test/test_directory.py
===================================================================
--- CalendarServer/branches/users/glyph/unshare-when-access-revoked/twistedcaldav/directory/test/test_directory.py 2013-01-29 03:29:13 UTC (rev 10587)
+++ CalendarServer/branches/users/glyph/unshare-when-access-revoked/twistedcaldav/directory/test/test_directory.py 2013-01-29 03:29:15 UTC (rev 10588)
@@ -77,13 +77,13 @@
def setUp(self):
super(GroupMembershipTests, self).setUp()
- self.directoryService = XMLDirectoryService(
+ self.directoryFixture.addDirectoryService(XMLDirectoryService(
{
'xmlFile' : xmlFile,
'augmentService' :
augment.AugmentXMLDB(xmlFiles=(augmentsFile.path,)),
}
- )
+ ))
calendaruserproxy.ProxyDBService = calendaruserproxy.ProxySqliteDB("proxies.sqlite")
# Set up a principals hierarchy for each service we're testing with
@@ -787,13 +787,13 @@
def setUp(self):
super(RecordsMatchingTokensTests, self).setUp()
- self.directoryService = XMLDirectoryService(
+ self.directoryFixture.addDirectoryService(XMLDirectoryService(
{
'xmlFile' : xmlFile,
'augmentService' :
augment.AugmentXMLDB(xmlFiles=(augmentsFile.path,)),
}
- )
+ ))
calendaruserproxy.ProxyDBService = calendaruserproxy.ProxySqliteDB("proxies.sqlite")
# Set up a principals hierarchy for each service we're testing with
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130128/b4467598/attachment.html>
More information about the calendarserver-changes
mailing list