summaryrefslogtreecommitdiff
path: root/tests/pyscript/stop.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2019-06-14 18:12:39 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2019-06-14 18:12:39 -0400
commit85dbe035114330a15abd5af6e098ef6948fa6cb0 (patch)
treee087dfa160eba882dcbd623609cab763efbd1ebc /tests/pyscript/stop.py
parent3329e5fec21f2cc4479bb3358170e2226885ab3b (diff)
parentddd07f9cd6d72baca1232ae98856cf3b3d564706 (diff)
downloadcmd2-git-85dbe035114330a15abd5af6e098ef6948fa6cb0.tar.gz
Merge branch 'master' into history_fixes
Diffstat (limited to 'tests/pyscript/stop.py')
-rw-r--r--tests/pyscript/stop.py9
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()