MCPcopy Create free account
hub / github.com/python-cmd2/cmd2 / test_parseline_quoted

Function test_parseline_quoted

tests/test_cmd2.py:3520–3525  ·  view source on GitHub ↗
(base_app)

Source from the content-addressed store, hash-verified

3518
3519
3520def test_parseline_quoted(base_app) -> None:
3521 statement = " command with 'partially completed quotes "
3522 command, args, line = base_app.parseline(statement)
3523 assert command == "command"
3524 assert args == "with 'partially completed quotes "
3525 assert line == statement.lstrip()
3526
3527
3528def test_onecmd_raw_str_continue(outsim_app) -> None:

Callers

nothing calls this directly

Calls 1

parselineMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…