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

Function test_onecmd_raw_str_quit

tests/test_cmd2.py:3536–3541  ·  view source on GitHub ↗
(outsim_app)

Source from the content-addressed store, hash-verified

3534
3535
3536def test_onecmd_raw_str_quit(outsim_app) -> None:
3537 line = "quit"
3538 stop = outsim_app.onecmd(line)
3539 out = outsim_app.stdout.getvalue()
3540 assert stop
3541 assert out == ""
3542
3543
3544def test_onecmd_add_to_history(outsim_app) -> None:

Callers

nothing calls this directly

Calls 2

onecmdMethod · 0.80
getvalueMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…