(parser)
| 191 | |
| 192 | |
| 193 | def test_parse_command_with_args(parser) -> None: |
| 194 | line = "command with args" |
| 195 | statement = parser.parse(line) |
| 196 | assert statement.command == "command" |
| 197 | assert statement == "with args" |
| 198 | assert statement.args == statement |
| 199 | assert statement.argv == ["command", "with", "args"] |
| 200 | assert statement.arg_list == statement.argv[1:] |
| 201 | |
| 202 | |
| 203 | def test_parse_command_with_quoted_args(parser) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…