[Zodb-checkins] CVS: StandaloneZODB/bsddb3Storage/bsddb3Storage/tests - test_storage_api.py:1.19.2.1

Barry Warsaw barry@wooz.org
Thu, 6 Jun 2002 18:41:30 -0400


Update of /cvs-repository/StandaloneZODB/bsddb3Storage/bsddb3Storage/tests
In directory cvs.zope.org:/tmp/cvs-serv5302/bsddb3Storage/bsddb3Storage/tests

Modified Files:
      Tag: bsddb3Storage-picklelog-branch
	test_storage_api.py 
Log Message:
Import bsddb3 right away so that if PyBSDDB isn't installed on the
system, the resulting ImportError will be caught by the test suite and
this test will be skipped.


=== StandaloneZODB/bsddb3Storage/bsddb3Storage/tests/test_storage_api.py 1.19 => 1.19.2.1 ===
 
 import unittest
+# Import this here and now so that import failures properly cause the test
+# suite to ignore these tests.
+import bsddb3
 
 from ZODB import POSException