[Zodb-checkins] CVS: StandaloneZODB/bsddb3Storage/bsddb3Storage/tests - test_zodb_simple.py:1.7.2.1
Barry Warsaw
barry@wooz.org
Fri, 7 Jun 2002 10:20:36 -0400
Update of /cvs-repository/StandaloneZODB/bsddb3Storage/bsddb3Storage/tests
In directory cvs.zope.org:/tmp/cvs-serv10099
Modified Files:
Tag: bsddb3Storage-picklelog-branch
test_zodb_simple.py
Log Message:
Do the "import bsddb3" dance so the test.py will notice the
ImportError (on Python's w/o PyBSDDB3) and will skip these tests.
=== StandaloneZODB/bsddb3Storage/bsddb3Storage/tests/test_zodb_simple.py 1.7 => 1.7.2.1 ===
import time
import unittest
+# Import this here and now so that import failures properly cause the test
+# suite to ignore these tests.
+import bsddb3
from ZODBTestBase import ZODBTestBase
from Persistence import PersistentMapping