diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-06-10 10:23:53 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-06-10 10:23:53 -0400 |
commit | 6fa5c56a0d457fa69ac43b1d0b6f733a71a697da (patch) | |
tree | 2d259cdb6b47ad628600e541b9c14fcf6bd45d58 /tests/pyscript | |
parent | 273538ca647d9f50a92f11df621c26d2a65a3cc1 (diff) | |
download | cmd2-git-6fa5c56a0d457fa69ac43b1d0b6f733a71a697da.tar.gz |
Added unit test
Diffstat (limited to 'tests/pyscript')
-rw-r--r-- | tests/pyscript/stop.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/pyscript/stop.py b/tests/pyscript/stop.py new file mode 100644 index 00000000..e731218e --- /dev/null +++ b/tests/pyscript/stop.py @@ -0,0 +1,9 @@ +# flake8: noqa F821 +app.cmd_echo = True +app('help') + +# This will set stop to True in the PyscriptBridge +app('quit') + +# Exercise py_quit() in unit test +quit() |