Ajay Tripathi added the comment:
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
Stackov
Ajay Tripathi added the comment:
Hi,
Thanks for your response, here is a code sample of what I am doing right now:
```
import unittest
import sys
class MyTest(unittest.TestCase):
def __init__(self, testName, extraArg):
super(MyTest, self).__init__(testName
New submission from Ajay Tripathi :
I am currently writing a unittest script that requires argparser but since the
unittest module already has a ArgumentParser instance, I cannot create and use
my own ArgumentParser instance.
Possible solution:
The problem would be solved I could inherit