()
| 284 | |
| 285 | |
| 286 | def test_apcustom_metavar_tuple() -> None: |
| 287 | # Test the case when a tuple metavar is used with nargs an integer > 1 |
| 288 | parser = Cmd2ArgumentParser() |
| 289 | parser.add_argument("--aflag", nargs=2, metavar=("foo", "bar"), help="This is a test") |
| 290 | assert "[--aflag foo bar]" in parser.format_help() |
| 291 | |
| 292 | |
| 293 | def test_register_argparse_argument_parameter() -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…