Message153602
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. |
|
Date |
User |
Action |
Args |
2012-02-17 21:49:50 | ncoghlan | set | recipients:
+ ncoghlan, eric.araujo, Jason.Yeo |
2012-02-17 21:49:50 | ncoghlan | set | messageid: <1329515390.88.0.458139601717.issue14026@psf.upfronthosting.co.za> |
2012-02-17 21:49:50 | ncoghlan | link | issue14026 messages |
2012-02-17 21:49:50 | ncoghlan | create | |
|