[Checkins] SVN: z3c.testsetup/branches/reinout-teardown/src/z3c/testsetup/tests/ Switched on NDIFF reporting to try and find out about the test errors
Reinout van Rees
reinout at vanrees.org
Wed Jul 15 08:02:55 EDT 2009
Log message for revision 101924:
Switched on NDIFF reporting to try and find out about the test errors
Changed:
U z3c.testsetup/branches/reinout-teardown/src/z3c/testsetup/tests/setupininit.txt
U z3c.testsetup/branches/reinout-teardown/src/z3c/testsetup/tests/test_testsetup.py
-=-
Modified: z3c.testsetup/branches/reinout-teardown/src/z3c/testsetup/tests/setupininit.txt
===================================================================
--- z3c.testsetup/branches/reinout-teardown/src/z3c/testsetup/tests/setupininit.txt 2009-07-15 11:42:59 UTC (rev 101923)
+++ z3c.testsetup/branches/reinout-teardown/src/z3c/testsetup/tests/setupininit.txt 2009-07-15 12:02:55 UTC (rev 101924)
@@ -31,14 +31,16 @@
>>> from z3c.testsetup import testrunner
>>> testrunner.run(defaults)
Running z3c.testsetup.functional.doctesting.FunctionalLayer tests:
- Set up z3c.testsetup...doctesting.FunctionalLayer in ... seconds.
- Ran 2 tests with 0 failures and 0 errors in ... seconds.
+ Set up z3c.testsetup.functional.doctesting.FunctionalLayer in 0.040 seconds.
+ Ran 2 tests with 0 failures and 0 errors in 0.004 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
- Tear down z3c.testsetup...doctesting.FunctionalLayer ... not supported
+ Tear down z3c.testsetup.functional.doctesting.FunctionalLayer ... not supported
Running in a subprocess.
- Set up zope.testing.testrunner.layer.UnitTests in ... seconds.
- Ran 2 tests with 0 failures and 0 errors in ... seconds.
- Tear down zope.testing.testrunner.layer.UnitTests in ... seconds.
- Total: 4 tests, 0 failures, 0 errors in ... seconds.
+ Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
+ Ran 2 tests with 0 failures and 0 errors in 0.003 seconds.
+ Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
+ Total: 4 tests, 0 failures, 0 errors in 1.854 seconds.
False
+TODO Note on ^^^: I copy-pasted the real output and I'm still getting some
+invisible error on the last "ran 2 tests" line.
\ No newline at end of file
Modified: z3c.testsetup/branches/reinout-teardown/src/z3c/testsetup/tests/test_testsetup.py
===================================================================
--- z3c.testsetup/branches/reinout-teardown/src/z3c/testsetup/tests/test_testsetup.py 2009-07-15 11:42:59 UTC (rev 101923)
+++ z3c.testsetup/branches/reinout-teardown/src/z3c/testsetup/tests/test_testsetup.py 2009-07-15 12:02:55 UTC (rev 101924)
@@ -90,7 +90,7 @@
'tests/README_OLD.txt', 'testgetter.txt', 'testrunner.txt', 'README.txt',
package='z3c.testsetup',
setUp=setUp, tearDown=tearDown,
- optionflags=doctest.ELLIPSIS+doctest.NORMALIZE_WHITESPACE,
+ optionflags=doctest.ELLIPSIS+doctest.NORMALIZE_WHITESPACE+doctest.REPORT_NDIFF,
checker=checker),
]
@@ -127,7 +127,7 @@
'nozopeapptesting.txt',
package='z3c.testsetup',
setUp=setUp, tearDown=tearDown,
- optionflags=doctest.ELLIPSIS+doctest.NORMALIZE_WHITESPACE,
+ optionflags=doctest.ELLIPSIS+doctest.NORMALIZE_WHITESPACE+doctest.REPORT_NDIFF,
checker=checker),
]
@@ -147,7 +147,8 @@
'print_file':print_file,},
checker=checker,
optionflags=doctest.ELLIPSIS+
- doctest.NORMALIZE_WHITESPACE)
+ doctest.NORMALIZE_WHITESPACE+
+ doctest.REPORT_NDIFF)
suite.addTest(test)
return suite
More information about the Checkins
mailing list