(self)
| 3014 | ''')) |
| 3015 | |
| 3016 | def test_alias_invocation(self): |
| 3017 | parser = self._get_parser(aliases=True) |
| 3018 | self.assertEqual( |
| 3019 | parser.parse_known_args('0.5 1alias1 b'.split()), |
| 3020 | (NS(foo=False, bar=0.5, w=None, x='b'), []), |
| 3021 | ) |
| 3022 | self.assertEqual( |
| 3023 | parser.parse_known_args('0.5 1alias2 b'.split()), |
| 3024 | (NS(foo=False, bar=0.5, w=None, x='b'), []), |
| 3025 | ) |
| 3026 | |
| 3027 | def test_error_alias_invocation(self): |
| 3028 | parser = self._get_parser(aliases=True) |
nothing calls this directly
no test coverage detected