[Zodb-checkins] SVN: ZODB/branches/pycon-multidb/src/ZODB/tests/
Scaffolding so that multidb.txt gets run.
Tim Peters
tim.one at comcast.net
Sun Mar 20 16:38:43 EST 2005
Log message for revision 29596:
Scaffolding so that multidb.txt gets run.
Changed:
U ZODB/branches/pycon-multidb/src/ZODB/tests/multidb.txt
U ZODB/branches/pycon-multidb/src/ZODB/tests/test_doctest_files.py
-=-
Modified: ZODB/branches/pycon-multidb/src/ZODB/tests/multidb.txt
===================================================================
--- ZODB/branches/pycon-multidb/src/ZODB/tests/multidb.txt 2005-03-20 21:37:27 UTC (rev 29595)
+++ ZODB/branches/pycon-multidb/src/ZODB/tests/multidb.txt 2005-03-20 21:38:43 UTC (rev 29596)
@@ -11,7 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-r"""
+
Multi-database tests
====================
@@ -108,9 +108,3 @@
>>> for a_db in db.databases.values():
... a_db.close()
-"""
-
-from zope.testing import doctest
-
-def test_suite():
- return doctest.DocTestSuite()
Modified: ZODB/branches/pycon-multidb/src/ZODB/tests/test_doctest_files.py
===================================================================
--- ZODB/branches/pycon-multidb/src/ZODB/tests/test_doctest_files.py 2005-03-20 21:37:27 UTC (rev 29595)
+++ ZODB/branches/pycon-multidb/src/ZODB/tests/test_doctest_files.py 2005-03-20 21:38:43 UTC (rev 29596)
@@ -15,4 +15,6 @@
from zope.testing.doctestunit import DocFileSuite
def test_suite():
- return DocFileSuite("dbopen.txt")
+ return DocFileSuite("dbopen.txt",
+ "multidb.txt",
+ )
More information about the Zodb-checkins
mailing list