(self)
| 621 | self.assertHelp(self.parser, expected_help) |
| 622 | |
| 623 | def test_alt_expand(self): |
| 624 | self.parser.add_option("-f", "--file", |
| 625 | default="foo.txt", |
| 626 | help="read from FILE [default: *DEFAULT*]") |
| 627 | self.parser.formatter.default_tag = "*DEFAULT*" |
| 628 | self.assertHelp(self.parser, self.expected_help_file) |
| 629 | |
| 630 | def test_no_expand(self): |
| 631 | self.parser.add_option("-f", "--file", |
nothing calls this directly
no test coverage detected