Message360381
Hi pual,
> The issue of testing a script that uses argparse has come up on StackOverFlow a number of times.
Sorry for the confusing but this is not a support ticket,
I am not stuck with a problem and I am aware of the variaous solutions on Stackoverflow to use arguements with unittest module.
Instead, I am proposing a change in the module so that the user of unittest can get the `parent_parser` and add their arguements in the unitest argparser instance itself.
I propose this change because it seems like a more intuitive way to use argparser with unittest to me and I hope to hear your thoughts on the change and if it is desired.
Best,
Ajay Tripathi |
|
Date |
User |
Action |
Args |
2020-01-21 10:12:39 | atb00ker | set | recipients:
+ atb00ker, paul.j3, xtreak |
2020-01-21 10:12:39 | atb00ker | set | messageid: <1579601559.23.0.66237503861.issue39283@roundup.psfhosted.org> |
2020-01-21 10:12:39 | atb00ker | link | issue39283 messages |
2020-01-21 10:12:38 | atb00ker | create | |
|