[Zodb-checkins] SVN: ZODB/branches/tim-simpler_connection/s Add machinery to support running doctest file tests in ZODB.

Tim Peters tim.one at comcast.net
Tue Oct 26 14:14:15 EDT 2004


Log message for revision 28255:
  Add machinery to support running doctest file tests in ZODB.
  

Changed:
  U   ZODB/branches/tim-simpler_connection/setup.py
  A   ZODB/branches/tim-simpler_connection/src/ZODB/tests/dbopen.txt
  A   ZODB/branches/tim-simpler_connection/src/ZODB/tests/test_doctest_files.py

-=-
Modified: ZODB/branches/tim-simpler_connection/setup.py
===================================================================
--- ZODB/branches/tim-simpler_connection/setup.py	2004-10-26 18:03:29 UTC (rev 28254)
+++ ZODB/branches/tim-simpler_connection/setup.py	2004-10-26 18:14:15 UTC (rev 28255)
@@ -182,6 +182,7 @@
         "ZConfig/tests/library/widget",
         "ZEO",
         "ZODB",
+        "ZODB/tests",
         "zdaemon",
         "zdaemon/tests",
         ]:

Added: ZODB/branches/tim-simpler_connection/src/ZODB/tests/dbopen.txt
===================================================================
--- ZODB/branches/tim-simpler_connection/src/ZODB/tests/dbopen.txt	2004-10-26 18:03:29 UTC (rev 28254)
+++ ZODB/branches/tim-simpler_connection/src/ZODB/tests/dbopen.txt	2004-10-26 18:14:15 UTC (rev 28255)
@@ -0,0 +1,3 @@
+>>> 1
+1
+


Property changes on: ZODB/branches/tim-simpler_connection/src/ZODB/tests/dbopen.txt
___________________________________________________________________
Name: svn:eol-style
   + native

Added: ZODB/branches/tim-simpler_connection/src/ZODB/tests/test_doctest_files.py
===================================================================
--- ZODB/branches/tim-simpler_connection/src/ZODB/tests/test_doctest_files.py	2004-10-26 18:03:29 UTC (rev 28254)
+++ ZODB/branches/tim-simpler_connection/src/ZODB/tests/test_doctest_files.py	2004-10-26 18:14:15 UTC (rev 28255)
@@ -0,0 +1,18 @@
+##############################################################################
+#
+# Copyright (c) 2004 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+
+from zope.testing.doctestunit import DocFileSuite
+
+def test_suite():
+    return DocFileSuite("dbopen.txt")


Property changes on: ZODB/branches/tim-simpler_connection/src/ZODB/tests/test_doctest_files.py
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native



More information about the Zodb-checkins mailing list