(self)
| 3471 | |
| 3472 | @force_not_colorized |
| 3473 | def test_usage_when_required(self): |
| 3474 | format_usage = self.get_parser(required=True).format_usage |
| 3475 | expected_usage = self.usage_when_required |
| 3476 | self.assertEqual(format_usage(), textwrap.dedent(expected_usage)) |
| 3477 | |
| 3478 | @force_not_colorized |
| 3479 | def test_help_when_not_required(self): |
nothing calls this directly
no test coverage detected