(parser)
| 795 | |
| 796 | |
| 797 | def test_parse_command_only_unclosed_quote(parser) -> None: |
| 798 | # Quoted trailing spaces will be preserved |
| 799 | line = 'command with unclosed "quote ' |
| 800 | partial_statement = parser.parse_command_only(line) |
| 801 | assert partial_statement.command == "command" |
| 802 | assert partial_statement.args == 'with unclosed "quote ' |
| 803 | assert partial_statement.raw == line |
| 804 | assert not partial_statement.multiline_command |
| 805 | assert partial_statement.command_and_args == line |
| 806 | |
| 807 | |
| 808 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected
searching dependent graphs…