From 6fa5c56a0d457fa69ac43b1d0b6f733a71a697da Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Mon, 10 Jun 2019 10:23:53 -0400 Subject: Added unit test --- tests/pyscript/stop.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/pyscript/stop.py (limited to 'tests/pyscript') 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() -- cgit v1.2.1