Author michael.foord
Recipients michael.foord
Date 2009-05-11.10:59:28
SpamBayes Score 1.01101e-10
Marked as misclassified No
Message-id <1242039588.66.0.255791822903.issue5995@psf.upfronthosting.co.za>
In-reply-to
Content
This patch adds a verbosity keyword argument to unittest.main - so you
can do:

    if __name__ == '__main__':
       unittest.main(verbosity=2)

It also has a minor fix allowing you to specify test modules / classes
from the command line. This enables unittest to be used like this:

    python -m unittest test_module
    python -m unittest test_module.TestClass

Which is quite funky.
History
Date User Action Args
2009-05-11 10:59:49michael.foordsetrecipients: + michael.foord
2009-05-11 10:59:48michael.foordsetmessageid: <1242039588.66.0.255791822903.issue5995@psf.upfronthosting.co.za>
2009-05-11 10:59:46michael.foordlinkissue5995 messages
2009-05-11 10:59:45michael.foordcreate