[CalendarServer-changes] [6006] CalendarServer/branches/users/glyph/sql-store/txcaldav/calendarstore /test/common.py

source_changes at macosforge.org source_changes at macosforge.org
Fri Aug 6 15:43:37 PDT 2010


Revision: 6006
          http://trac.macosforge.org/projects/calendarserver/changeset/6006
Author:   glyph at apple.com
Date:     2010-08-06 15:43:36 -0700 (Fri, 06 Aug 2010)
Log Message:
-----------
label test transactions for easier diagnosis

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/sql-store/txcaldav/calendarstore/test/common.py

Modified: CalendarServer/branches/users/glyph/sql-store/txcaldav/calendarstore/test/common.py
===================================================================
--- CalendarServer/branches/users/glyph/sql-store/txcaldav/calendarstore/test/common.py	2010-08-06 22:42:58 UTC (rev 6005)
+++ CalendarServer/branches/users/glyph/sql-store/txcaldav/calendarstore/test/common.py	2010-08-06 22:43:36 UTC (rev 6006)
@@ -205,7 +205,7 @@
             return self.lastTransaction
         if self.savedStore is None:
             self.savedStore = self.storeUnderTest()
-        txn = self.lastTransaction = self.savedStore.newTransaction()
+        txn = self.lastTransaction = self.savedStore.newTransaction(self.id())
         return txn
 
 
@@ -775,7 +775,7 @@
             create=True
         )
         def readOtherTxn():
-            otherTxn = self.savedStore.newTransaction()
+            otherTxn = self.savedStore.newTransaction(self.id() + "other txn")
             self.addCleanup(otherTxn.commit)
             return otherTxn.calendarHomeWithUID(noHomeUID)
         self.assertProvides(ICalendarHome, calendarHome)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100806/a542c702/attachment.html>


More information about the calendarserver-changes mailing list