[Zope3-checkins] CVS: Zope3/src/zope/app/rdb/tests - test_zopeconnection.py:1.7

Jeremy Hylton jeremy at zope.com
Wed Mar 31 22:57:25 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/rdb/tests
In directory cvs.zope.org:/tmp/cvs-serv23866/src/zope/app/rdb/tests

Modified Files:
	test_zopeconnection.py 
Log Message:
Merge the jeremy-txn-branch to the head.

This branch introduces a new transaction API.  The key features are:
  - top-level functions in transaction -- get(), commit(), abort() 
  - explicit transaction manager objects
  - Transaction objects are used for exactly one transaction
  - support for transaction synchronizers

The changes here are still provisional, but we want to get them off an
obscure branch and onto the head for further development.


=== Zope3/src/zope/app/rdb/tests/test_zopeconnection.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/rdb/tests/test_zopeconnection.py:1.6	Fri Mar  5 17:09:15 2004
+++ Zope3/src/zope/app/rdb/tests/test_zopeconnection.py	Wed Mar 31 22:56:55 2004
@@ -39,7 +39,7 @@
         cursor.execute('select * from blah')
 
         self.assertEqual(zc._txn_registered, True)
-        self.assertEqual(len(t._objects), 1)
+        self.assertEqual(len(t._resources), 1)
 
     def test_commit(self):
         t = get_transaction()




More information about the Zope3-Checkins mailing list