[CalendarServer-changes] [7620] CalendarServer/branches/users/glyph/quota/txdav/caldav/datastore/ test/common.py
source_changes at macosforge.org
source_changes at macosforge.org
Mon Jun 20 11:44:47 PDT 2011
Revision: 7620
http://trac.macosforge.org/projects/calendarserver/changeset/7620
Author: glyph at apple.com
Date: 2011-06-20 11:44:47 -0700 (Mon, 20 Jun 2011)
Log Message:
-----------
add test for attachment-list after commit too
Modified Paths:
--------------
CalendarServer/branches/users/glyph/quota/txdav/caldav/datastore/test/common.py
Modified: CalendarServer/branches/users/glyph/quota/txdav/caldav/datastore/test/common.py
===================================================================
--- CalendarServer/branches/users/glyph/quota/txdav/caldav/datastore/test/common.py 2011-06-20 18:44:36 UTC (rev 7619)
+++ CalendarServer/branches/users/glyph/quota/txdav/caldav/datastore/test/common.py 2011-06-20 18:44:47 UTC (rev 7620)
@@ -1625,6 +1625,9 @@
lambda: obj.createAttachmentWithName("too-big.attachment")
)
self.assertEquals((yield obj.attachments()), [])
+ yield self.commit()
+ obj = yield self.calendarObjectUnderTest()
+ self.assertEquals((yield obj.attachments()), [])
@inlineCallbacks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110620/936dfc22/attachment.html>
More information about the calendarserver-changes
mailing list