(parser, tokens, command, args)
| 121 | [([], "", ""), (["command"], "command", ""), (["command", "arg1", "arg2"], "command", "arg1 arg2")], |
| 122 | ) |
| 123 | def test_command_and_args(parser, tokens, command, args) -> None: |
| 124 | (parsed_command, parsed_args) = parser._command_and_args(tokens) |
| 125 | assert command == parsed_command |
| 126 | assert args == parsed_args |
| 127 | |
| 128 | |
| 129 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected
searching dependent graphs…