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

Function test_psuccess

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

Source from the content-addressed store, hash-verified

3213
3214@with_ansi_style(ru.AllowStyle.ALWAYS)
3215def test_psuccess(outsim_app) -> None:
3216 msg = "testing..."
3217 end = "\n"
3218 outsim_app.psuccess(msg)
3219
3220 expected = su.stylize(msg + end, style=Cmd2Style.SUCCESS)
3221 assert outsim_app.stdout.getvalue() == expected
3222
3223
3224@with_ansi_style(ru.AllowStyle.ALWAYS)

Callers

nothing calls this directly

Calls 2

psuccessMethod · 0.80
getvalueMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…