(parser)
| 232 | |
| 233 | |
| 234 | def test_parse_embedded_comment_char(parser) -> None: |
| 235 | command_str = "hi " + constants.COMMENT_CHAR + " not a comment" |
| 236 | statement = parser.parse(command_str) |
| 237 | assert statement == constants.COMMENT_CHAR + " not a comment" |
| 238 | assert statement.args == statement |
| 239 | assert statement.command == "hi" |
| 240 | assert statement.argv == shlex_split(command_str) |
| 241 | assert statement.arg_list == statement.argv[1:] |
| 242 | |
| 243 | |
| 244 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected
searching dependent graphs…