This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients Jason.Yeo, eric.araujo, ncoghlan
Date 2012-02-17.21:49:50
SpamBayes Score 2.6172898e-05
Marked as misclassified No
Message-id <1329515390.88.0.458139601717.issue14026@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-02-17 21:49:50ncoghlansetrecipients: + ncoghlan, eric.araujo, Jason.Yeo
2012-02-17 21:49:50ncoghlansetmessageid: <1329515390.88.0.458139601717.issue14026@psf.upfronthosting.co.za>
2012-02-17 21:49:50ncoghlanlinkissue14026 messages
2012-02-17 21:49:50ncoghlancreate