Commit 5a252816 authored by Andreas Jung's avatar Andreas Jung

compatiblity with >= ZODB 3.9.0b1 (Connection._opened -> Connection.opened)

parent e12e678b
...@@ -195,10 +195,10 @@ class MountingTests(unittest.TestCase): ...@@ -195,10 +195,10 @@ class MountingTests(unittest.TestCase):
transaction.abort() transaction.abort()
# Close the main connection # Close the main connection
app._p_jar.close() 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 # Check that secondary connections have been closed too
self.assertEqual(conn1._opened, None) self.assertEqual(conn1.opened, None)
self.assertEqual(conn2._opened, None) self.assertEqual(conn2.opened, None)
def test_suite(): def test_suite():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment