[CalendarServer-changes] [12707] CalendarServer/trunk/txdav/common/datastore/work/test/ test_revision_cleanup.py

source_changes at macosforge.org source_changes at macosforge.org
Wed Mar 12 11:23:05 PDT 2014


Revision: 12707
          http://trac.calendarserver.org//changeset/12707
Author:   cdaboo at apple.com
Date:     2014-02-14 12:36:16 -0800 (Fri, 14 Feb 2014)
Log Message:
-----------
Missing yields.

Modified Paths:
--------------
    CalendarServer/trunk/txdav/common/datastore/work/test/test_revision_cleanup.py

Modified: CalendarServer/trunk/txdav/common/datastore/work/test/test_revision_cleanup.py
===================================================================
--- CalendarServer/trunk/txdav/common/datastore/work/test/test_revision_cleanup.py	2014-02-14 20:30:09 UTC (rev 12706)
+++ CalendarServer/trunk/txdav/common/datastore/work/test/test_revision_cleanup.py	2014-02-14 20:36:16 UTC (rev 12707)
@@ -427,15 +427,15 @@
         # generate 3 revisions per member of group1
         group1Object = yield self.addressbookObjectUnderTest(self.transactionUnderTest(), name="group1.vcf", addressbook_name="addressbook", home="user01")
         yield group1Object.setComponent(VCard.fromString(self.group1Empty))
-        self.commit()
+        yield self.commit()
         group1Object = yield self.addressbookObjectUnderTest(self.transactionUnderTest(), name="group1.vcf", addressbook_name="addressbook", home="user01")
         yield group1Object.setComponent(VCard.fromString(self.group1))
-        self.commit()
+        yield self.commit()
 
         # generate 2 revisions per member of group2, and make max revision of group1 members < max valid revision
         group2Object = yield self.addressbookObjectUnderTest(self.transactionUnderTest(), name="group2.vcf", addressbook_name="addressbook", home="user01")
         yield group2Object.setComponent(VCard.fromString(self.group2Empty))
-        self.commit()
+        yield self.commit()
 
         # Get group1 revisions
         aboMembers = schema.ABO_MEMBERS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140312/61b953b8/attachment.html>


More information about the calendarserver-changes mailing list