[Zodb-checkins] CVS: ZODB/src/ZODB/tests -
ConflictResolution.py:1.15 Corruption.py:1.10
HistoryStorage.py:1.14 MTStorage.py:1.15
PackableStorage.py:1.31 TransactionalUndoStorage.py:1.40
TransactionalUndoVersionStorage.py:1.18 testCache.py:1.19
testConfig.py:1.16 testDemoStorage.py:1.11
testFileStorage.py:1.38 testMappingStorage.py:1.8
testTransaction.py:1.19 testfsIndex.py:1.8
Martijn Faassen
m.faassen at vet.uu.nl
Thu Feb 26 19:32:29 EST 2004
Update of /cvs-repository/ZODB/src/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv1093/src/ZODB/tests
Modified Files:
ConflictResolution.py Corruption.py HistoryStorage.py
MTStorage.py PackableStorage.py TransactionalUndoStorage.py
TransactionalUndoVersionStorage.py testCache.py testConfig.py
testDemoStorage.py testFileStorage.py testMappingStorage.py
testTransaction.py testfsIndex.py
Log Message:
Remove unused imports.
=== ZODB/src/ZODB/tests/ConflictResolution.py 1.14 => 1.15 ===
--- ZODB/src/ZODB/tests/ConflictResolution.py:1.14 Wed Feb 18 21:59:10 2004
+++ ZODB/src/ZODB/tests/ConflictResolution.py Thu Feb 26 19:31:55 2004
@@ -19,11 +19,6 @@
from ZODB.tests.StorageTestBase import zodb_unpickle, zodb_pickle
-import sys
-import types
-from cPickle import Pickler, Unpickler
-from cStringIO import StringIO
-
class PCounter(Persistent):
_value = 0
=== ZODB/src/ZODB/tests/Corruption.py 1.9 => 1.10 ===
--- ZODB/src/ZODB/tests/Corruption.py:1.9 Wed Dec 24 11:01:58 2003
+++ ZODB/src/ZODB/tests/Corruption.py Thu Feb 26 19:31:55 2004
@@ -17,7 +17,6 @@
import random
import stat
import tempfile
-import unittest
import ZODB, ZODB.FileStorage
from StorageTestBase import StorageTestBase
=== ZODB/src/ZODB/tests/HistoryStorage.py 1.13 => 1.14 ===
--- ZODB/src/ZODB/tests/HistoryStorage.py:1.13 Wed Dec 24 11:01:58 2003
+++ ZODB/src/ZODB/tests/HistoryStorage.py Thu Feb 26 19:31:55 2004
@@ -19,9 +19,6 @@
from ZODB.Transaction import Transaction
from ZODB.tests.MinPO import MinPO
-from ZODB.tests.StorageTestBase import zodb_unpickle
-
-
class HistoryStorage:
def checkSimpleHistory(self):
=== ZODB/src/ZODB/tests/MTStorage.py 1.14 => 1.15 ===
--- ZODB/src/ZODB/tests/MTStorage.py:1.14 Fri Jan 9 14:50:12 2004
+++ ZODB/src/ZODB/tests/MTStorage.py Thu Feb 26 19:31:55 2004
@@ -7,7 +7,7 @@
from persistent.mapping import PersistentMapping
from ZODB.tests.StorageTestBase \
- import StorageTestBase, zodb_pickle, zodb_unpickle, handle_serials
+ import zodb_pickle, zodb_unpickle, handle_serials
from ZODB.tests.MinPO import MinPO
from ZODB.Transaction import Transaction
from ZODB.POSException import ConflictError
=== ZODB/src/ZODB/tests/PackableStorage.py 1.30 => 1.31 ===
--- ZODB/src/ZODB/tests/PackableStorage.py:1.30 Thu Feb 19 13:35:23 2004
+++ ZODB/src/ZODB/tests/PackableStorage.py Thu Feb 26 19:31:55 2004
@@ -34,7 +34,6 @@
from ZODB.tests.MinPO import MinPO
from ZODB.tests.StorageTestBase import snooze
from ZODB.POSException import ConflictError, StorageError
-from ZODB.FileStorage import FileStorage
from ZODB.tests.MTStorage import TestThread
=== ZODB/src/ZODB/tests/TransactionalUndoStorage.py 1.39 => 1.40 ===
--- ZODB/src/ZODB/tests/TransactionalUndoStorage.py:1.39 Thu Feb 19 13:35:23 2004
+++ ZODB/src/ZODB/tests/TransactionalUndoStorage.py Thu Feb 26 19:31:55 2004
@@ -21,7 +21,7 @@
from ZODB import POSException
from ZODB.Transaction import Transaction
from ZODB.serialize import referencesf
-from ZODB.utils import u64, p64
+from ZODB.utils import p64
from ZODB import DB
from persistent import Persistent
=== ZODB/src/ZODB/tests/TransactionalUndoVersionStorage.py 1.17 => 1.18 ===
--- ZODB/src/ZODB/tests/TransactionalUndoVersionStorage.py:1.17 Thu Feb 19 13:35:23 2004
+++ ZODB/src/ZODB/tests/TransactionalUndoVersionStorage.py Thu Feb 26 19:31:55 2004
@@ -16,7 +16,6 @@
import time
-from ZODB import POSException
from ZODB.serialize import referencesf
from ZODB.Transaction import Transaction
from ZODB.tests.MinPO import MinPO
=== ZODB/src/ZODB/tests/testCache.py 1.18 => 1.19 ===
--- ZODB/src/ZODB/tests/testCache.py:1.18 Wed Feb 18 21:59:10 2004
+++ ZODB/src/ZODB/tests/testCache.py Thu Feb 26 19:31:55 2004
@@ -25,7 +25,6 @@
import ZODB
import ZODB.MappingStorage
-from ZODB.POSException import ConflictError
from persistent.cPickleCache import PickleCache
from persistent.mapping import PersistentMapping
from ZODB.tests.MinPO import MinPO
=== ZODB/src/ZODB/tests/testConfig.py 1.15 => 1.16 ===
--- ZODB/src/ZODB/tests/testConfig.py:1.15 Fri Feb 20 11:22:11 2004
+++ ZODB/src/ZODB/tests/testConfig.py Thu Feb 26 19:31:55 2004
@@ -12,14 +12,10 @@
#
##############################################################################
-import os
-import errno
-import shutil
import tempfile
import unittest
import ZODB.config
-import ZODB.tests
from ZODB.POSException import ReadOnlyError
=== ZODB/src/ZODB/tests/testDemoStorage.py 1.10 => 1.11 ===
--- ZODB/src/ZODB/tests/testDemoStorage.py:1.10 Tue Feb 17 20:12:59 2004
+++ ZODB/src/ZODB/tests/testDemoStorage.py Thu Feb 26 19:31:55 2004
@@ -12,7 +12,7 @@
#
##############################################################################
import ZODB.DemoStorage
-import os, unittest
+import unittest
from ZODB.tests import StorageTestBase, BasicStorage, \
VersionStorage, Synchronization
=== ZODB/src/ZODB/tests/testFileStorage.py 1.37 => 1.38 ===
--- ZODB/src/ZODB/tests/testFileStorage.py:1.37 Wed Dec 24 11:01:58 2003
+++ ZODB/src/ZODB/tests/testFileStorage.py Thu Feb 26 19:31:55 2004
@@ -12,13 +12,9 @@
#
##############################################################################
import ZODB.FileStorage
-import sys, os, unittest
-import errno
-import filecmp
-import StringIO
+import os, unittest
from ZODB.Transaction import Transaction
from ZODB import POSException
-from ZODB.fsrecover import recover
from ZODB.tests import StorageTestBase, BasicStorage, \
TransactionalUndoStorage, VersionStorage, \
@@ -26,7 +22,7 @@
Synchronization, ConflictResolution, HistoryStorage, \
IteratorStorage, Corruption, RevisionStorage, PersistentStorage, \
MTStorage, ReadOnlyStorage, RecoveryStorage
-from ZODB.tests.StorageTestBase import MinPO, zodb_unpickle, zodb_pickle
+from ZODB.tests.StorageTestBase import MinPO, zodb_pickle
class BaseFileStorageTests(StorageTestBase.StorageTestBase):
=== ZODB/src/ZODB/tests/testMappingStorage.py 1.7 => 1.8 ===
--- ZODB/src/ZODB/tests/testMappingStorage.py:1.7 Wed Dec 24 11:01:58 2003
+++ ZODB/src/ZODB/tests/testMappingStorage.py Thu Feb 26 19:31:55 2004
@@ -12,7 +12,7 @@
#
##############################################################################
import ZODB.MappingStorage
-import os, unittest
+import unittest
from ZODB.tests import StorageTestBase
from ZODB.tests \
=== ZODB/src/ZODB/tests/testTransaction.py 1.18 => 1.19 ===
--- ZODB/src/ZODB/tests/testTransaction.py:1.18 Wed Feb 18 21:59:10 2004
+++ ZODB/src/ZODB/tests/testTransaction.py Thu Feb 26 19:31:55 2004
@@ -44,7 +44,6 @@
"""
-import random
from types import TupleType
import unittest
=== ZODB/src/ZODB/tests/testfsIndex.py 1.7 => 1.8 ===
--- ZODB/src/ZODB/tests/testfsIndex.py:1.7 Thu Oct 2 14:17:17 2003
+++ ZODB/src/ZODB/tests/testfsIndex.py Thu Feb 26 19:31:55 2004
@@ -11,7 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-import unittest, sys
+import unittest
from ZODB.fsIndex import fsIndex
from ZODB.utils import p64
More information about the Zodb-checkins
mailing list