[Zodb-checkins] CVS: ZODB4/src/zodb/zeo/tests - test_zeo.py:1.3
Barry Warsaw
barry@wooz.org
Wed, 22 Jan 2003 16:46:35 -0500
Update of /cvs-repository/ZODB4/src/zodb/zeo/tests
In directory cvs.zope.org:/tmp/cvs-serv14887
Modified Files:
test_zeo.py
Log Message:
fix the way we decide if the berkeley tests should be added
=== ZODB4/src/zodb/zeo/tests/test_zeo.py 1.2 => 1.3 ===
--- ZODB4/src/zodb/zeo/tests/test_zeo.py:1.2 Wed Dec 25 09:12:22 2002
+++ ZODB4/src/zodb/zeo/tests/test_zeo.py Wed Jan 22 16:46:32 2003
@@ -168,11 +168,9 @@
test_classes = [FileStorageTests]
-try:
- from zodb.storage.bdbfull import BDBFullStorage
-except ImportError:
- pass
-else:
+
+from zodb.storabe.base import berkeley_is_available
+if berkeley_is_available:
test_classes.append(BDBTests)