[CalendarServer-changes] [10581] CalendarServer/branches/users/glyph/unshare-when-access-revoked
source_changes at macosforge.org
source_changes at macosforge.org
Mon Jan 28 19:29:04 PST 2013
Revision: 10581
http://trac.calendarserver.org//changeset/10581
Author: glyph at apple.com
Date: 2013-01-28 19:29:04 -0800 (Mon, 28 Jan 2013)
Log Message:
-----------
Remove now-redundant directory setup code from the test.
Modified Paths:
--------------
CalendarServer/branches/users/glyph/unshare-when-access-revoked/twistedcaldav/test/test_sharing.py
Property Changed:
----------------
CalendarServer/branches/users/glyph/unshare-when-access-revoked/
Modified: CalendarServer/branches/users/glyph/unshare-when-access-revoked/twistedcaldav/test/test_sharing.py
===================================================================
--- CalendarServer/branches/users/glyph/unshare-when-access-revoked/twistedcaldav/test/test_sharing.py 2013-01-29 03:29:03 UTC (rev 10580)
+++ CalendarServer/branches/users/glyph/unshare-when-access-revoked/twistedcaldav/test/test_sharing.py 2013-01-29 03:29:04 UTC (rev 10581)
@@ -801,23 +801,7 @@
wcreate = self.calendarStore.newTransaction("create wiki")
yield wcreate.calendarHomeWithUID("wiki-testing", create=True)
yield wcreate.commit()
-
- # Since this is a HomeTestCase, self.site.resource refers to a _calendar
- # home_, not the actual site root. Rummage around in the bag of state
- # there looking for the relevant stuff to test with.
-
- testwiki = WikiDirectoryService()
- testwiki.realmName = "Test"
- self.directoryService = AggregateDirectoryService(
- [testwiki, self.directoryService], None
- )
- self.homeProvisioner = DirectoryCalendarHomeProvisioningResource(
- self.directoryService, "/calendars/", self.calendarStore
- )
- DirectoryPrincipalProvisioningResource(
- "/principals/", self.directoryService
- )
-
+ self.directoryFixture.addDirectoryService(WikiDirectoryService())
origRefreshRoot = self._refreshRoot
@inlineCallbacks
def _newRefreshRoot(request=None):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130128/82de89f1/attachment.html>
More information about the calendarserver-changes
mailing list