[CalendarServer-changes] [6000] CalendarServer/branches/users/glyph/sql-store/twistedcaldav/test/ test_wrapping.py

source_changes at macosforge.org source_changes at macosforge.org
Fri Aug 6 10:56:18 PDT 2010


Revision: 6000
          http://trac.macosforge.org/projects/calendarserver/changeset/6000
Author:   glyph at apple.com
Date:     2010-08-06 10:56:17 -0700 (Fri, 06 Aug 2010)
Log Message:
-----------
make tests better-behaved with respect to transactions

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/sql-store/twistedcaldav/test/test_wrapping.py

Modified: CalendarServer/branches/users/glyph/sql-store/twistedcaldav/test/test_wrapping.py
===================================================================
--- CalendarServer/branches/users/glyph/sql-store/twistedcaldav/test/test_wrapping.py	2010-08-06 17:40:11 UTC (rev 5999)
+++ CalendarServer/branches/users/glyph/sql-store/twistedcaldav/test/test_wrapping.py	2010-08-06 17:56:17 UTC (rev 6000)
@@ -273,9 +273,9 @@
         C{CalendarHome.calendarWithName}.
         """
         calDavFile = yield self.getResource("calendars/users/wsanchez/calendar")
-        self.commit()
         self.assertEquals(calDavFile.resourceType(),
                           davxml.ResourceType.calendar)
+        self.commit()
 
 
     @inlineCallbacks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100806/af8c8c30/attachment.html>


More information about the calendarserver-changes mailing list