[CalendarServer-changes] [2793] CalendarServer/trunk/twistedcaldav/directory/test/util.py
source_changes at macosforge.org
source_changes at macosforge.org
Mon Aug 11 11:52:15 PDT 2008
Revision: 2793
http://trac.macosforge.org/projects/calendarserver/changeset/2793
Author: wsanchez at apple.com
Date: 2008-08-11 11:52:15 -0700 (Mon, 11 Aug 2008)
Log Message:
-----------
assert listRecords doesn't return None
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/directory/test/util.py
Modified: CalendarServer/trunk/twistedcaldav/directory/test/util.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/directory/test/util.py 2008-08-11 17:56:01 UTC (rev 2792)
+++ CalendarServer/trunk/twistedcaldav/directory/test/util.py 2008-08-11 18:52:15 UTC (rev 2793)
@@ -202,6 +202,7 @@
records = service.listRecords(prefix + recordType)
except UnknownRecordTypeError:
continue
+ assert records is not None, "%r(%r) returned None" % (service.listRecords, recordType)
for record in records:
names.add(prefix + record.shortName)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20080811/cd55a15d/attachment.html
More information about the calendarserver-changes
mailing list