(parser)
| 201 | |
| 202 | |
| 203 | def test_parse_command_with_quoted_args(parser) -> None: |
| 204 | line = 'command with "quoted args" and "some not"' |
| 205 | statement = parser.parse(line) |
| 206 | assert statement.command == "command" |
| 207 | assert statement == 'with "quoted args" and "some not"' |
| 208 | assert statement.args == statement |
| 209 | assert statement.argv == ["command", "with", "quoted args", "and", "some not"] |
| 210 | assert statement.arg_list == ["with", '"quoted args"', "and", '"some not"'] |
| 211 | |
| 212 | |
| 213 | def test_parse_command_with_args_terminator_and_suffix(parser) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…