diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-02-28 00:27:12 -0500 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-02-28 00:27:12 -0500 |
commit | 4a3c5a02e144a72e26103d02ce38163ba765e796 (patch) | |
tree | 0971ea8be91803409f55c966595d5cca97483132 /tests/pyscript/foo4.py | |
parent | d3208c84c72bc1f3280c80b9d9854f33631c6b61 (diff) | |
download | cmd2-git-4a3c5a02e144a72e26103d02ce38163ba765e796.tar.gz |
Removed ability to call commands as if they were functions in pyscript (e.g. app.help())
Diffstat (limited to 'tests/pyscript/foo4.py')
-rw-r--r-- | tests/pyscript/foo4.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/pyscript/foo4.py b/tests/pyscript/foo4.py deleted file mode 100644 index a601ccd8..00000000 --- a/tests/pyscript/foo4.py +++ /dev/null @@ -1,10 +0,0 @@ -# flake8: noqa F821 -app.cmd_echo = True -result = app.foo('aaa', 'bbb', counter=3) -out_text = 'Fail' -if result: - data = result.data - if 'aaa' in data.variable and 'bbb' in data.variable and data.counter == 3: - out_text = 'Success' - -print(out_text) |