[Zope3-checkins] CVS: Zope3/src/zope/app/rdb/tests -
test_zopeconnection.py:1.6.4.1
Jeremy Hylton
jeremy at zope.com
Tue Mar 30 14:34:15 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/rdb/tests
In directory cvs.zope.org:/tmp/cvs-serv10824
Modified Files:
Tag: jeremy-txn-branch
test_zopeconnection.py
Log Message:
Check _resources instead of _objects.
The test depended on the implementation and the implementation
changed.
=== Zope3/src/zope/app/rdb/tests/test_zopeconnection.py 1.6 => 1.6.4.1 ===
--- 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 Tue Mar 30 14:34:14 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