[CalendarServer-changes] [926]
CalendarServer/trunk/twistedcaldav/directory/test
source_changes at macosforge.org
source_changes at macosforge.org
Thu Jan 4 19:48:10 PST 2007
Revision: 926
http://trac.macosforge.org/projects/calendarserver/changeset/926
Author: wsanchez at apple.com
Date: 2007-01-04 19:48:10 -0800 (Thu, 04 Jan 2007)
Log Message:
-----------
Fix tests WRT locations record type
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/directory/test/test_aggregate.py
CalendarServer/trunk/twistedcaldav/directory/test/test_apache.py
CalendarServer/trunk/twistedcaldav/directory/test/test_opendirectory.py
CalendarServer/trunk/twistedcaldav/directory/test/test_sqldb.py
Modified: CalendarServer/trunk/twistedcaldav/directory/test/test_aggregate.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/directory/test/test_aggregate.py 2007-01-05 03:23:04 UTC (rev 925)
+++ CalendarServer/trunk/twistedcaldav/directory/test/test_aggregate.py 2007-01-05 03:48:10 UTC (rev 926)
@@ -58,6 +58,7 @@
recordTypes = property(_recordTypes)
users = property(_records("users"))
groups = property(_records("groups"))
+ locations = property(_records("locations"))
resources = property(_records("resources"))
recordTypePrefixes = tuple(s[0] for s in testServices)
Modified: CalendarServer/trunk/twistedcaldav/directory/test/test_apache.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/directory/test/test_apache.py 2007-01-05 03:23:04 UTC (rev 925)
+++ CalendarServer/trunk/twistedcaldav/directory/test/test_apache.py 2007-01-05 03:48:10 UTC (rev 926)
@@ -48,6 +48,9 @@
"left_coast" : { "guid": None, "addresses": (), "members": (("user", "wsanchez"), ("user", "dreid"), ("user", "lecroy")) },
}
+ locations = {
+ }
+
resources = {
}
Modified: CalendarServer/trunk/twistedcaldav/directory/test/test_opendirectory.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/directory/test/test_opendirectory.py 2007-01-05 03:23:04 UTC (rev 925)
+++ CalendarServer/trunk/twistedcaldav/directory/test/test_opendirectory.py 2007-01-05 03:48:10 UTC (rev 926)
@@ -40,9 +40,7 @@
"""
recordTypes = set(("user", "group", "resource"))
- users = {}
- groups = {}
- resources = {}
+ users = groups = locations = resources = {}
def service(self):
return OpenDirectoryService(node="/Local")
Modified: CalendarServer/trunk/twistedcaldav/directory/test/test_sqldb.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/directory/test/test_sqldb.py 2007-01-05 03:23:04 UTC (rev 925)
+++ CalendarServer/trunk/twistedcaldav/directory/test/test_sqldb.py 2007-01-05 03:48:10 UTC (rev 926)
@@ -39,6 +39,10 @@
def service(self):
return SQLDirectoryService(os.getcwd(), self.xmlFile())
+ def test_recordTypes(self):
+ super(SQLDB, self).test_recordTypes()
+ test_recordTypes.todo = "Add locations record type"
+
def test_verifyCredentials_digest(self):
super(SQLDB, self).test_verifyCredentials_digest()
test_verifyCredentials_digest.todo = ""
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20070104/0d17a90d/attachment.html
More information about the calendarserver-changes
mailing list