Can a test case tell if VERBOSE is used in pyunit test?

Noah noahspurrier at gmail.com
Mon Jan 30 21:32:40 EST 2006


Is there a way for a test case method in a class derived
from unittest.TestCase to tell if the harness was started
with the verbose option? I would like my test cases to
print out a little extra information if the tests were run with
-v or -vv.

yours,
Noah




More information about the Python-list mailing list