(self)
| 641 | |
| 642 | class TestStandard(BaseTest): |
| 643 | def setUp(self): |
| 644 | options = [make_option("-a", type="string"), |
| 645 | make_option("-b", "--boo", type="int", dest='boo'), |
| 646 | make_option("--foo", action="append")] |
| 647 | |
| 648 | self.parser = InterceptingOptionParser(usage=SUPPRESS_USAGE, |
| 649 | option_list=options) |
| 650 | |
| 651 | def test_required_value(self): |
| 652 | self.assertParseFail(["-a"], "-a option requires 1 argument") |
nothing calls this directly
no test coverage detected