[CalendarServer-changes] [2219] CalendarServer/branches/users/wsanchez/guid-calendars/twistedcaldav/ directory/test/test_guidchange.py
source_changes at macosforge.org
source_changes at macosforge.org
Mon Mar 10 13:55:08 PDT 2008
Revision: 2219
http://trac.macosforge.org/projects/calendarserver/changeset/2219
Author: wsanchez at apple.com
Date: 2008-03-10 13:55:07 -0700 (Mon, 10 Mar 2008)
Log Message:
-----------
Mark twistedcaldav.directory.test.test_guidchange as TODO because the existing test isn't valid.
Modified Paths:
--------------
CalendarServer/branches/users/wsanchez/guid-calendars/twistedcaldav/directory/test/test_guidchange.py
Modified: CalendarServer/branches/users/wsanchez/guid-calendars/twistedcaldav/directory/test/test_guidchange.py
===================================================================
--- CalendarServer/branches/users/wsanchez/guid-calendars/twistedcaldav/directory/test/test_guidchange.py 2008-03-10 20:49:10 UTC (rev 2218)
+++ CalendarServer/branches/users/wsanchez/guid-calendars/twistedcaldav/directory/test/test_guidchange.py 2008-03-10 20:55:07 UTC (rev 2219)
@@ -103,8 +103,20 @@
d = self._checkPrivileges(None, homeResource, davxml.HRef("/principals/__uids__/" + oldUID + "/"), davxml.Write, True)
d.addCallback(privs1)
return d
-
+ #
+ # This test fails because /calendars/users/cdaboo/ actually is a
+ # different resource (ie. the /calendars/__uids__/... URL would be
+ # different) when the GUID for cdaboo changes.
+ #
+ # The test needs to create a fixed resource with access granted to
+ # the old cdaboo; calendar homes no longer do this.
+ #
+ # Using the __uids__ URL won't work either because the old URL
+ # goes away with the old account.
+ #
+ test_guidchange.todo = "Test no longer works."
+
def _checkPrivileges(self, resource, url, principal, privilege, allowed):
request = SimpleRequest(self.site, "GET", "/")
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20080310/1ee482ed/attachment.html
More information about the calendarserver-changes
mailing list