[Zope-Checkins] SVN: Zope/trunk/src/Products/ZODBMountPoint/tests/testMountPoint.py compatiblity with >= ZODB 3.9.0b1 (Connection._opened -> Connection.opened)

Andreas Jung andreas at andreas-jung.com
Tue May 5 07:06:22 EDT 2009


Log message for revision 99766:
  compatiblity with >= ZODB 3.9.0b1 (Connection._opened -> Connection.opened)
  

Changed:
  U   Zope/trunk/src/Products/ZODBMountPoint/tests/testMountPoint.py

-=-
Modified: Zope/trunk/src/Products/ZODBMountPoint/tests/testMountPoint.py
===================================================================
--- Zope/trunk/src/Products/ZODBMountPoint/tests/testMountPoint.py	2009-05-05 11:03:40 UTC (rev 99765)
+++ Zope/trunk/src/Products/ZODBMountPoint/tests/testMountPoint.py	2009-05-05 11:06:22 UTC (rev 99766)
@@ -195,10 +195,10 @@
         transaction.abort()
         # Close the main connection
         app._p_jar.close()
-        self.assertEqual(app._p_jar._opened, None)
+        self.assertEqual(app._p_jar.opened, None)
         # Check that secondary connections have been closed too
-        self.assertEqual(conn1._opened, None)
-        self.assertEqual(conn2._opened, None)
+        self.assertEqual(conn1.opened, None)
+        self.assertEqual(conn2.opened, None)
 
 
 def test_suite():



More information about the Zope-Checkins mailing list