--- a/server/test/unittest_session.py Fri Mar 22 19:32:25 2013 +0100
+++ b/server/test/unittest_session.py Fri Mar 22 19:42:33 2013 +0100
@@ -32,7 +32,7 @@
self.assertEqual(session.hooks_mode, session.HOOKS_ALLOW_ALL)
self.assertEqual(session.disabled_hook_categories, set())
self.assertEqual(session.enabled_hook_categories, set())
- self.assertEqual(len(session._tx_data), 1)
+ self.assertEqual(len(session._txs), 1)
with session.deny_all_hooks_but('metadata'):
self.assertEqual(session.hooks_mode, session.HOOKS_DENY_ALL)
self.assertEqual(session.disabled_hook_categories, set())
@@ -54,7 +54,7 @@
self.assertEqual(session.enabled_hook_categories, set(('metadata',)))
# leaving context manager with no transaction running should reset the
# transaction local storage (and associated cnxset)
- self.assertEqual(session._tx_data, {})
+ self.assertEqual(session._txs, {})
self.assertEqual(session.cnxset, None)
self.assertEqual(session.hooks_mode, session.HOOKS_ALLOW_ALL)
self.assertEqual(session.disabled_hook_categories, set())