[Zope3-checkins] SVN: zope.testing/trunk/src/zope/testing/testrunner/testrunner-coverage-win32.txt Fix one of the sources of failures on windows.
Chris Withers
chris at simplistix.co.uk
Sat Aug 16 11:49:38 EDT 2008
Log message for revision 89914:
Fix one of the sources of failures on windows.
Christians owe beer for not running tests on an operating system he doesn't use once he'd refactored ;-)
Changed:
U zope.testing/trunk/src/zope/testing/testrunner/testrunner-coverage-win32.txt
-=-
Modified: zope.testing/trunk/src/zope/testing/testrunner/testrunner-coverage-win32.txt
===================================================================
--- zope.testing/trunk/src/zope/testing/testrunner/testrunner-coverage-win32.txt 2008-08-16 15:48:32 UTC (rev 89913)
+++ zope.testing/trunk/src/zope/testing/testrunner/testrunner-coverage-win32.txt 2008-08-16 15:49:38 UTC (rev 89914)
@@ -5,13 +5,9 @@
randomly passed to TestIgnore.names.
Watch out for the case of the R drive!
- >>> class WinOptions(object):
- ... package = None
- ... test_path = [('r:\\winproject\\src\\blah\\foo', ''),
- ... ('R:\\winproject\\src\\blah\\bar', '')]
-
- >>> from zope.testing import testrunner
- >>> ignore = testrunner.TestIgnore(WinOptions())
+ >>> from zope.testing.testrunner.coverage import TestIgnore
+ >>> ignore = TestIgnore((('r:\\winproject\\src\\blah\\foo', ''),
+ ... ('R:\\winproject\\src\\blah\\bar', '')))
>>> ignore._test_dirs
['r:\\winproject\\src\\blah\\foo\\', 'R:\\winproject\\src\\blah\\bar\\']
More information about the Zope3-Checkins
mailing list