diff options
Diffstat (limited to 'tests/pyscript')
-rw-r--r-- | tests/pyscript/echo.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/pyscript/echo.py b/tests/pyscript/echo.py new file mode 100644 index 00000000..d95e19db --- /dev/null +++ b/tests/pyscript/echo.py @@ -0,0 +1,9 @@ +# flake8: noqa F821 +# Tests echo argument to app() +app.cmd_echo = False + +# echo defaults to current setting which is False, so this help text should not be echoed to pytest's stdout +app('help alias') + +# pytest's stdout should have this help text written to it +app('help edit', echo=True) |