[Zope3-checkins] CVS: ZODB4/ZODB/tests - TransactionalUndoDB.py:1.2
Jeremy Hylton
jeremy@zope.com
Fri, 13 Dec 2002 17:16:39 -0500
Update of /cvs-repository/ZODB4/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv28564/ZODB/tests
Modified Files:
TransactionalUndoDB.py
Log Message:
Three fixes.
Remove unused assignment to mod.
Remove unused import of pickle.
Pass user and description args on to _dostore().
=== ZODB4/ZODB/tests/TransactionalUndoDB.py 1.1 => 1.2 ===
--- ZODB4/ZODB/tests/TransactionalUndoDB.py:1.1 Wed Dec 4 16:56:47 2002
+++ ZODB4/ZODB/tests/TransactionalUndoDB.py Fri Dec 13 17:16:38 2002
@@ -1,7 +1,7 @@
"""Check transactional undo performed via the database."""
import time
-import types
+import unittest
from ZODB import POSException
from ZODB.ZTransaction import Transaction
@@ -17,7 +17,7 @@
class C(Persistent):
pass
-class TransactionalUndoDB:
+class TransactionalUndoDB(unittest.TestCase):
def checkSimpleTransactionalUndo(self):
obj = MinPO(23)