[TIP] Testing optparse with Nosetests
fragger123 at gmail.com
Tue Oct 30 01:42:49 PDT 2012
Posting this here because it seems more active then the Nosetests users
Anyway I am in the process of writing an application which makes use of
Optparse. I'm running the tests with Nosetests but I fear these two might
When I run parser.parse_args() anywhere in my code Nosetests bugs out.
Usage: nosetests [options]
nosetests: error: no such option: --with-coverage
Removing the call to parse_args() and everything runs fine.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the testing-in-python