[CalendarServer-changes] [6027] CalendarServer/branches/users/glyph/sql-store/txcarddav/ addressbookstore/test/common.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Aug 10 08:20:07 PDT 2010


Revision: 6027
          http://trac.macosforge.org/projects/calendarserver/changeset/6027
Author:   glyph at apple.com
Date:     2010-08-10 08:20:05 -0700 (Tue, 10 Aug 2010)
Log Message:
-----------
fix test

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/sql-store/txcarddav/addressbookstore/test/common.py

Modified: CalendarServer/branches/users/glyph/sql-store/txcarddav/addressbookstore/test/common.py
===================================================================
--- CalendarServer/branches/users/glyph/sql-store/txcarddav/addressbookstore/test/common.py	2010-08-10 15:10:43 UTC (rev 6026)
+++ CalendarServer/branches/users/glyph/sql-store/txcarddav/addressbookstore/test/common.py	2010-08-10 15:20:05 UTC (rev 6027)
@@ -1,4 +1,4 @@
-# -*- test-case-name: txcarddav.addressbookstore -*-
+# -*- test-case-name: txcarddav.addressbookstore,txcaldav.calendarstore.test.test_postgres.AddressBookSQLStorageTests -*-
 ##
 # Copyright (c) 2010 Apple Inc. All rights reserved.
 #
@@ -724,7 +724,7 @@
         self.assertProvides(IAddressBookHome, addressbookHome)
         # A concurrent transaction shouldn't be able to read it yet:
         self.assertIdentical(readOtherTxn(), None)
-        txn.commit()
+        self.commit()
         # But once it's committed, other transactions should see it.
         self.assertProvides(IAddressBookHome, readOtherTxn())
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100810/5f07c0f9/attachment.html>


More information about the calendarserver-changes mailing list