Commit f6ba922d authored by Stefan H. Holek's avatar Stefan H. Holek

Minor typo.

parent 5e0076fc
...@@ -134,7 +134,7 @@ class TestTestCase(HookTest): ...@@ -134,7 +134,7 @@ class TestTestCase(HookTest):
self.assertEqual(getSecurityManager().getUser().getUserName(), 'Anonymous User') self.assertEqual(getSecurityManager().getUser().getUserName(), 'Anonymous User')
def getObjectsInTransaction(self): def getObjectsInTransaction(self):
# Let's us spy into the transaction # Lets us spy into the transaction
t = get_transaction() t = get_transaction()
if hasattr(t, '_objects'): # Zope < 2.8 if hasattr(t, '_objects'): # Zope < 2.8
return t._objects return t._objects
......
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