[Zope3-checkins] CVS: ZODB4/ZODB/tests - StorageTestBase.py:1.22

Jeremy Hylton jeremy@zope.com
Fri, 13 Dec 2002 17:16:49 -0500


Update of /cvs-repository/ZODB4/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv28591/ZODB/tests

Modified Files:
	StorageTestBase.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/StorageTestBase.py 1.21 => 1.22 ===
--- ZODB4/ZODB/tests/StorageTestBase.py:1.21	Fri Dec  6 18:09:29 2002
+++ ZODB4/ZODB/tests/StorageTestBase.py	Fri Dec 13 17:16:48 2002
@@ -21,7 +21,6 @@
 
 import errno
 import os
-import pickle
 import string
 import sys
 import types
@@ -87,7 +86,7 @@
     return handle_all_serials(oid, *args)[oid]
 
 def import_helper(name):
-    mod = __import__(name)
+    __import__(name)
     return sys.modules[name]
 
 def removefs(base):
@@ -163,7 +162,8 @@
 
     def _dostoreNP(self, oid=None, revid=None, data=None, version=None,
                    user=None, description=None):
-        return self._dostore(oid, revid, data, version, already_pickled=1)
+        return self._dostore(oid, revid, data, version, already_pickled=1,
+                             user=user, description=description)
     # The following methods depend on optional storage features.
 
     def _undo(self, tid, oid=None):