diff options
author | Eric Lin <anselor@gmail.com> | 2018-05-17 18:08:52 -0400 |
---|---|---|
committer | Eric Lin <anselor@gmail.com> | 2018-05-17 18:08:52 -0400 |
commit | ff89bad1b0dd2a608081db5a8fa299ef43d66bc5 (patch) | |
tree | 5b5ba5f355d4026e563af3491ee6758642833f10 /tests/pyscript/foo4.py | |
parent | 371284d20370a8e85dd8527d9bbcc6267b335cde (diff) | |
download | cmd2-git-ff89bad1b0dd2a608081db5a8fa299ef43d66bc5.tar.gz |
Suppresses stdout and stderr output by default when calling an application command from pyscript.
Added support for tab completing application commands in ipython shell
Updated unit tests scripts to set cmd_echo to True to validate command output.
Diffstat (limited to 'tests/pyscript/foo4.py')
-rw-r--r-- | tests/pyscript/foo4.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/pyscript/foo4.py b/tests/pyscript/foo4.py index 88fd3ce8..e4b7d01c 100644 --- a/tests/pyscript/foo4.py +++ b/tests/pyscript/foo4.py @@ -1,3 +1,4 @@ +app.cmd_echo = True result = app.foo('aaa', 'bbb', counter=3) out_text = 'Fail' if result: |