[CalendarServer-changes] [6545] CalendarServer/branches/users/glyph/sharedpool/txdav/caldav/ datastore/test/common.py

source_changes at macosforge.org source_changes at macosforge.org
Mon Nov 1 14:30:44 PDT 2010


Revision: 6545
          http://trac.macosforge.org/projects/calendarserver/changeset/6545
Author:   glyph at apple.com
Date:     2010-11-01 14:30:41 -0700 (Mon, 01 Nov 2010)
Log Message:
-----------
some missing yields

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/sharedpool/txdav/caldav/datastore/test/common.py

Modified: CalendarServer/branches/users/glyph/sharedpool/txdav/caldav/datastore/test/common.py
===================================================================
--- CalendarServer/branches/users/glyph/sharedpool/txdav/caldav/datastore/test/common.py	2010-11-01 21:30:12 UTC (rev 6544)
+++ CalendarServer/branches/users/glyph/sharedpool/txdav/caldav/datastore/test/common.py	2010-11-01 21:30:41 UTC (rev 6545)
@@ -1067,7 +1067,7 @@
         """
         objName = "with-dropbox.ics"
         cal = yield self.calendarUnderTest()
-        cal.createCalendarObjectWithName(
+        yield cal.createCalendarObjectWithName(
             objName, VComponent.fromString(
                 self.eventWithDropbox
             )
@@ -1091,7 +1091,7 @@
         )
         t.write("new attachment")
         t.write(" text")
-        t.loseConnection()
+        yield t.loseConnection()
         obj = yield refresh(obj)
         class CaptureProtocol(Protocol):
             buf = ''
@@ -1181,7 +1181,7 @@
             "new.attachment", MimeType("text", "plain")
         )
         t.write("new attachment text")
-        t.loseConnection()
+        yield t.loseConnection()
         yield self.commit()
         home = (yield self.homeUnderTest())
         calendars = (yield home.calendars())
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20101101/5c1f9b38/attachment.html>


More information about the calendarserver-changes mailing list