Commit 6c2e5364 authored by Jim Fulton's avatar Jim Fulton

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.
parent 399aa894
...@@ -12,8 +12,13 @@ ...@@ -12,8 +12,13 @@
# #
############################################################################## ##############################################################################
from zope.testing.doctestunit import DocFileSuite from zope.testing import doctest
import ZODB.tests.util
def test_suite(): def test_suite():
return DocFileSuite("basic.txt", "connection.txt", "transaction.txt", return doctest.DocFileSuite(
"packing.txt", "importexport.txt", "consume.txt") "basic.txt", "connection.txt", "transaction.txt",
"packing.txt", "importexport.txt", "consume.txt",
setUp=ZODB.tests.util.setUp,
tearDown=ZODB.tests.util.tearDown,
)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment