summaryrefslogtreecommitdiff
path: root/tests/pyscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pyscript')
-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()