diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-06-14 17:36:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-14 17:36:44 -0400 |
commit | ddd07f9cd6d72baca1232ae98856cf3b3d564706 (patch) | |
tree | 8e03d435730baf1cc16ccc016e594d0b64d8e04a /tests/pyscript/stop.py | |
parent | f64f9d559caa08b5649b9bd356af2812acf103bd (diff) | |
parent | 756d8d38502e934ea180c4cfb8dea3efd124a3bf (diff) | |
download | cmd2-git-ddd07f9cd6d72baca1232ae98856cf3b3d564706.tar.gz |
Merge pull request #696 from python-cmd2/script_refactor
Script refactor
Diffstat (limited to 'tests/pyscript/stop.py')
-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() |