[Checkins] SVN: z3c.checkversions/trunk/ Make it possible to use zope.testrunner.
Marius Gedminas
cvs-admin at zope.org
Mon Jun 11 09:10:19 UTC 2012
Log message for revision 126705:
Make it possible to use zope.testrunner.
You can do it like this:
virtualenv .
bin/pip install zope.testrunner zc.buildout
bin/zope-testrunner --tests-pattern=test --test-path=.
Changed:
U z3c.checkversions/trunk/setup.py
U z3c.checkversions/trunk/z3c/checkversions/test.py
-=-
Modified: z3c.checkversions/trunk/setup.py
===================================================================
--- z3c.checkversions/trunk/setup.py 2012-06-11 09:10:11 UTC (rev 126704)
+++ z3c.checkversions/trunk/setup.py 2012-06-11 09:10:16 UTC (rev 126705)
@@ -52,7 +52,7 @@
],
extras_require={'buildout': ['zc.buildout']},
tests_require=['zc.buildout'],
- test_suite='z3c.checkversions.test.test',
+ test_suite='z3c.checkversions.test.test_suite',
entry_points="""
# -*- Entry points: -*-
[console_scripts]
Modified: z3c.checkversions/trunk/z3c/checkversions/test.py
===================================================================
--- z3c.checkversions/trunk/z3c/checkversions/test.py 2012-06-11 09:10:11 UTC (rev 126704)
+++ z3c.checkversions/trunk/z3c/checkversions/test.py 2012-06-11 09:10:16 UTC (rev 126705)
@@ -21,7 +21,7 @@
def tearDown(test):
distutils.log.set_threshold(test._old_log_level)
-def test():
+def test_suite():
optionflags = ELLIPSIS|NORMALIZE_WHITESPACE
suite = DocFileSuite('README.txt', 'buildout.txt', 'installed.txt',
setUp=setUp, tearDown=tearDown,
More information about the checkins
mailing list