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

Function test_poutput_zero

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

Source from the content-addressed store, hash-verified

2377
2378
2379def test_poutput_zero(outsim_app) -> None:
2380 msg = 0
2381 outsim_app.poutput(msg)
2382 out = outsim_app.stdout.getvalue()
2383 expected = str(msg) + "\n"
2384 assert out == expected
2385
2386
2387def test_poutput_empty_string(outsim_app) -> None:

Callers

nothing calls this directly

Calls 2

poutputMethod · 0.80
getvalueMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…