[Zope3-checkins]
SVN: zope.testing/branches/output-refactoring/src/zope/testing/testrunner.py
Inline a trivial method.
Marius Gedminas
marius at pov.lt
Fri Jul 13 06:58:33 EDT 2007
Log message for revision 77843:
Inline a trivial method.
Changed:
U zope.testing/branches/output-refactoring/src/zope/testing/testrunner.py
-=-
Modified: zope.testing/branches/output-refactoring/src/zope/testing/testrunner.py
===================================================================
--- zope.testing/branches/output-refactoring/src/zope/testing/testrunner.py 2007-07-13 10:57:45 UTC (rev 77842)
+++ zope.testing/branches/output-refactoring/src/zope/testing/testrunner.py 2007-07-13 10:58:33 UTC (rev 77843)
@@ -711,7 +711,7 @@
if should_run:
if options.list_tests:
- list_tests(options, tests, 'unit')
+ output.list_of_tests(tests, 'unit')
else:
output.info("Running unit tests:")
nlayers += 1
@@ -736,7 +736,7 @@
if options.list_tests:
for layer_name, layer, tests in layers_to_run:
- list_tests(options, tests, layer_name)
+ output.list_of_tests(tests, layer_name)
return True
for layer_name, layer, tests in layers_to_run:
@@ -785,9 +785,6 @@
return not bool(import_errors or failures or errors)
-def list_tests(options, tests, layer_name):
- # TODO: inline this method
- options.output.list_of_tests(tests, layer_name)
def run_tests(options, tests, name, failures, errors):
repeat = options.repeat or 1
More information about the Zope3-Checkins
mailing list