[Zodb-checkins]
SVN: ZODB/branches/jim-zeo-blob/src/ZODB/Blobs/tests/test_doctests.py
Use ZODB.tests.util.setUp to arrange that the tests run from a
Jim Fulton
jim at zope.com
Fri May 18 12:54:10 EDT 2007
Log message for revision 75835:
Use ZODB.tests.util.setUp to arrange that the tests run from a
temporary directory to work around current blob limitations that blob
files and storage blob directories need to be on the same device.
Changed:
U ZODB/branches/jim-zeo-blob/src/ZODB/Blobs/tests/test_doctests.py
-=-
Modified: ZODB/branches/jim-zeo-blob/src/ZODB/Blobs/tests/test_doctests.py
===================================================================
--- ZODB/branches/jim-zeo-blob/src/ZODB/Blobs/tests/test_doctests.py 2007-05-18 15:45:04 UTC (rev 75834)
+++ ZODB/branches/jim-zeo-blob/src/ZODB/Blobs/tests/test_doctests.py 2007-05-18 16:54:10 UTC (rev 75835)
@@ -12,8 +12,13 @@
#
##############################################################################
-from zope.testing.doctestunit import DocFileSuite
+from zope.testing import doctest
+import ZODB.tests.util
def test_suite():
- return DocFileSuite("basic.txt", "connection.txt", "transaction.txt",
- "packing.txt", "importexport.txt", "consume.txt")
+ return doctest.DocFileSuite(
+ "basic.txt", "connection.txt", "transaction.txt",
+ "packing.txt", "importexport.txt", "consume.txt",
+ setUp=ZODB.tests.util.setUp,
+ tearDown=ZODB.tests.util.tearDown,
+ )
More information about the Zodb-checkins
mailing list