[Checkins] SVN: z3c.form/trunk/src/z3c/form/ Fix tests by passing zope.testing's doctest module to the OutputChecker.

Dan Korostelev nadako at gmail.com
Mon Feb 9 21:25:49 EST 2009


Log message for revision 96359:
  Fix tests by passing zope.testing's doctest module to the OutputChecker.

Changed:
  U   z3c.form/trunk/src/z3c/form/browser/tests.py
  U   z3c.form/trunk/src/z3c/form/tests/test_doc.py

-=-
Modified: z3c.form/trunk/src/z3c/form/browser/tests.py
===================================================================
--- z3c.form/trunk/src/z3c/form/browser/tests.py	2009-02-10 00:42:32 UTC (rev 96358)
+++ z3c.form/trunk/src/z3c/form/browser/tests.py	2009-02-10 02:25:49 UTC (rev 96359)
@@ -18,7 +18,7 @@
 from z3c.form import testing
 
 def test_suite():
-    checker = testing.OutputChecker()
+    checker = testing.OutputChecker(doctest)
 
     tests = ((
         DocFileSuite('README.txt',

Modified: z3c.form/trunk/src/z3c/form/tests/test_doc.py
===================================================================
--- z3c.form/trunk/src/z3c/form/tests/test_doc.py	2009-02-10 00:42:32 UTC (rev 96358)
+++ z3c.form/trunk/src/z3c/form/tests/test_doc.py	2009-02-10 02:25:49 UTC (rev 96359)
@@ -26,7 +26,7 @@
 from z3c.form import testing
 
 def test_suite():
-    checker = testing.OutputChecker()
+    checker = testing.OutputChecker(doctest)
 
     tests = ((
         doctest.DocFileSuite(



More information about the Checkins mailing list