Nick Coghlan <ncogh...@gmail.com> added the comment:

For the purposes of this test (i.e. running the same script several different 
ways and making sure it always behaves as expected), I wouldn't even worry 
about making it configurable.

Just define a list of example args as a module global, append them to the 
run_args in _check_script, and check them against sys.argv[1:] with 
assertEqual() in the test script.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14026>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to