summaryrefslogtreecommitdiff
path: root/tests/pyscript/run.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2019-07-24 13:58:42 -0400
committerGitHub <noreply@github.com>2019-07-24 13:58:42 -0400
commitb823665299593fa2f12a5f1a86af11dbb6b7bc4b (patch)
treeb59fc95248a707e0c3ef69874cfccf24c9c5b392 /tests/pyscript/run.py
parent346589e7e81adcd2aff883776249778d57eb4faf (diff)
parent29eeef6829fc7fc4a7e706d90871e8c347de773a (diff)
downloadcmd2-git-b823665299593fa2f12a5f1a86af11dbb6b7bc4b.tar.gz
Merge pull request #739 from python-cmd2/presentation_stuff
Presentation stuff
Diffstat (limited to 'tests/pyscript/run.py')
-rw-r--r--tests/pyscript/run.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/pyscript/run.py b/tests/pyscript/run.py
new file mode 100644
index 00000000..47250a10
--- /dev/null
+++ b/tests/pyscript/run.py
@@ -0,0 +1,6 @@
+# flake8: noqa F821
+import os
+
+app.cmd_echo = True
+my_dir = (os.path.dirname(os.path.realpath(sys.argv[0])))
+run(os.path.join(my_dir, 'to_run.py'))