[Zope3-checkins] CVS: Zope3/lib/python/Persistence/BTrees/tests - testBTrees.py:1.19 testCompare.py:1.3
Jeremy Hylton
jeremy@zope.com
Wed, 17 Jul 2002 18:58:18 -0400
Update of /cvs-repository/Zope3/lib/python/Persistence/BTrees/tests
In directory cvs.zope.org:/tmp/cvs-serv2293/Persistence/BTrees/tests
Modified Files:
testBTrees.py testCompare.py
Log Message:
import get_transaction() from Transaction
=== Zope3/lib/python/Persistence/BTrees/tests/testBTrees.py 1.18 => 1.19 ===
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-import os
-import random
-
from Persistence.BTrees.OOBTree import OOBTree, OOBucket, OOSet, OOTreeSet
from Persistence.BTrees.IOBTree import IOBTree, IOBucket, IOSet, IOTreeSet
from Persistence.BTrees.IIBTree import IIBTree, IIBucket, IISet, IITreeSet
from Persistence.BTrees.OIBTree import OIBTree, OIBucket, OISet, OITreeSet
-from unittest import TestCase, TestSuite, TextTestRunner, makeSuite
+from Transaction import get_transaction
from glob import glob
+import os
+import random
+from unittest import TestCase, TestSuite, TextTestRunner, makeSuite
class Base(TestCase):
""" Tests common to all types: sets, buckets, and BTrees """
=== Zope3/lib/python/Persistence/BTrees/tests/testCompare.py 1.2 => 1.3 ===
import unittest
import ZODB
-from Persistence.BTrees.OOBTree import OOBucket as Bucket, OOSet as Set
from ZODB.MappingStorage import MappingStorage
+
+from Persistence.BTrees.OOBTree import OOBucket as Bucket, OOSet as Set
+from Transaction import get_transaction
class CompareTest(unittest.TestCase):