MCPcopy Index your code
hub / github.com/python-cmd2/cmd2 / test_parseline_empty

Function test_parseline_empty

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

Source from the content-addressed store, hash-verified

3510# don't need to test all the parsing logic here, because
3511# parseline just calls StatementParser.parse_command_only()
3512def test_parseline_empty(base_app) -> None:
3513 statement = ""
3514 command, args, line = base_app.parseline(statement)
3515 assert not command
3516 assert not args
3517 assert not line
3518
3519
3520def test_parseline_quoted(base_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…