[Zodb-checkins] CVS: ZODB4/src/zodb/zeo/tests - test_conn.py:1.3

Barry Warsaw barry@wooz.org
Wed, 22 Jan 2003 16:46:56 -0500


Update of /cvs-repository/ZODB4/src/zodb/zeo/tests
In directory cvs.zope.org:/tmp/cvs-serv14923

Modified Files:
	test_conn.py 
Log Message:
fix the way we decide if the berkeley tests should be added


=== ZODB4/src/zodb/zeo/tests/test_conn.py 1.2 => 1.3 ===
--- ZODB4/src/zodb/zeo/tests/test_conn.py:1.2	Wed Dec 25 09:12:22 2002
+++ ZODB4/src/zodb/zeo/tests/test_conn.py	Wed Jan 22 16:46:53 2003
@@ -77,11 +77,9 @@
 
 
 test_classes = [FileStorageConnectionTests, FileStorageReconnectionTests]
-try:
-    from zodb.storage.bdbfull import BDBFullStorage
-except ImportError:
-    pass
-else:
+
+from zodb.storage.base import berkeley_is_available
+if berkeley_is_available:
     test_classes.append(BDBConnectionTests)
     test_classes.append(BDBReconnectionTests)