[Zope3-checkins] CVS: Zope3/src/zodb/storage/tests - base.py:1.1.2.3
Barry Warsaw
barry@wooz.org
Tue, 24 Dec 2002 11:41:27 -0500
Update of /cvs-repository/Zope3/src/zodb/storage/tests
In directory cvs.zope.org:/tmp/cvs-serv6611
Modified Files:
Tag: NameGeddon-branch
base.py
Log Message:
Move BerkeleyDB mixin classes out of here and into bdbmixin.py so the
tests won't fail if bsddb3 isn't available.
=== Zope3/src/zodb/storage/tests/base.py 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/zodb/storage/tests/base.py:1.1.2.2 Mon Dec 23 17:00:12 2002
+++ Zope3/src/zodb/storage/tests/base.py Tue Dec 24 11:41:27 2002
@@ -209,9 +209,6 @@
from transaction import get_transaction
-DBHOME = 'test-db'
-
-
# Basic test framework class for both the Full and Minimal Berkeley storages
import os
@@ -220,9 +217,6 @@
from zodb.storage.base import BerkeleyConfig
-DBHOME = 'test-db'
-
-
class BerkeleyTestBase(StorageTestBase):
def _zap_dbhome(self, dir):
@@ -259,17 +253,6 @@
def tearDown(self):
StorageTestBase.tearDown(self)
self._zap_dbhome(DBHOME)
-
-
-
-class MinimalTestBase(BerkeleyTestBase):
- from zodb.storage.bdbminimal import BDBMinimalStorage
- ConcreteStorage = BDBMinimalStorage
-
-
-class FullTestBase(BerkeleyTestBase):
- from zodb.storage.bdbfull import BDBFullStorage
- ConcreteStorage = BDBFullStorage