[CalendarServer-changes] [6533] CalendarServer/branches/users/glyph/sharedpool/twistedcaldav/test/ test_wrapping.py
source_changes at macosforge.org
source_changes at macosforge.org
Mon Nov 1 14:26:06 PDT 2010
Revision: 6533
http://trac.macosforge.org/projects/calendarserver/changeset/6533
Author: glyph at apple.com
Date: 2010-11-01 14:26:03 -0700 (Mon, 01 Nov 2010)
Log Message:
-----------
yield after createCalendarCollection
Modified Paths:
--------------
CalendarServer/branches/users/glyph/sharedpool/twistedcaldav/test/test_wrapping.py
Modified: CalendarServer/branches/users/glyph/sharedpool/twistedcaldav/test/test_wrapping.py
===================================================================
--- CalendarServer/branches/users/glyph/sharedpool/twistedcaldav/test/test_wrapping.py 2010-11-01 21:25:47 UTC (rev 6532)
+++ CalendarServer/branches/users/glyph/sharedpool/twistedcaldav/test/test_wrapping.py 2010-11-01 21:26:03 UTC (rev 6533)
@@ -287,14 +287,14 @@
def test_lookupNewCalendar(self):
"""
When a L{CalDAVResource} which represents a not-yet-created calendar
- collection is looked up in a L{CalendarHomeResource} representing a calendar
- home, it will initially have a new storage backend set to C{None}, but
- when the calendar is created via a protocol action, the backend will be
- initialized to match.
+ collection is looked up in a L{CalendarHomeResource} representing a
+ calendar home, it will initially have a new storage backend set to
+ C{None}, but when the calendar is created via a protocol action, the
+ backend will be initialized to match.
"""
calDavFile = yield self.getResource("calendars/users/wsanchez/frobozz")
self.assertIsInstance(calDavFile, ProtoCalendarCollectionResource)
- calDavFile.createCalendarCollection()
+ yield calDavFile.createCalendarCollection()
yield self.commit()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20101101/9574f708/attachment.html>
More information about the calendarserver-changes
mailing list