(parser, line, terminator)
| 179 | ], |
| 180 | ) |
| 181 | def test_parse_suffix_after_terminator(parser, line, terminator) -> None: |
| 182 | statement = parser.parse(line) |
| 183 | assert statement.command == "termbare" |
| 184 | assert statement == "" |
| 185 | assert statement.args == statement |
| 186 | assert statement.argv == ["termbare"] |
| 187 | assert not statement.arg_list |
| 188 | assert statement.terminator == terminator |
| 189 | assert statement.suffix == "suffx" |
| 190 | assert statement.expanded_command_line == statement.command + statement.terminator + " " + statement.suffix |
| 191 | |
| 192 | |
| 193 | def test_parse_command_with_args(parser) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…