(self)
| 3465 | |
| 3466 | @force_not_colorized |
| 3467 | def test_usage_when_not_required(self): |
| 3468 | format_usage = self.get_parser(required=False).format_usage |
| 3469 | expected_usage = self.usage_when_not_required |
| 3470 | self.assertEqual(format_usage(), textwrap.dedent(expected_usage)) |
| 3471 | |
| 3472 | @force_not_colorized |
| 3473 | def test_usage_when_required(self): |
nothing calls this directly
no test coverage detected