summaryrefslogtreecommitdiff
path: root/tests/scripts
diff options
context:
space:
mode:
authorEric Lin <anselor@gmail.com>2018-05-02 11:22:10 -0400
committerEric Lin <anselor@gmail.com>2018-05-02 11:22:10 -0400
commit2528fb5217063a5a98f7ea2b880bfc75e7f2428c (patch)
treebfa1d30d5a2e1cebeffac4ea8d867588105b79a9 /tests/scripts
parentbf5288829afde976dd213d15aa37704c3eb0a087 (diff)
downloadcmd2-git-2528fb5217063a5a98f7ea2b880bfc75e7f2428c.tar.gz
Added support for customizing the pyscript bridge pystate object name.
Removed all legacy pystate objects. Changed default behavior to clear _last_result before each command Added utility for creating named tuples with default values Added tests to exercise new changes.
Diffstat (limited to 'tests/scripts')
-rw-r--r--tests/scripts/recursive.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/scripts/recursive.py b/tests/scripts/recursive.py
index 84f445bb..32c981b6 100644
--- a/tests/scripts/recursive.py
+++ b/tests/scripts/recursive.py
@@ -3,4 +3,4 @@
"""
Example demonstrating that running a Python script recursively inside another Python script isn't allowed
"""
-cmd('pyscript ../script.py')
+app('pyscript ../script.py')