diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-07-01 18:40:47 -0400 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-07-01 18:40:47 -0400 |
commit | a949834c4c55b4fdbec32cba09e5fe5f5bdc15fa (patch) | |
tree | f9a22ae2c9db372a3d9154e430fd99a86e177a25 /tests/scripts/recursive.py | |
parent | 79d5b675ab52a0522462e0ccfdab236787f3dac0 (diff) | |
download | cmd2-git-a949834c4c55b4fdbec32cba09e5fe5f5bdc15fa.tar.gz |
Added more unit tests for py and pyscript commands
Diffstat (limited to 'tests/scripts/recursive.py')
-rw-r--r-- | tests/scripts/recursive.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/scripts/recursive.py b/tests/scripts/recursive.py new file mode 100644 index 00000000..84f445bb --- /dev/null +++ b/tests/scripts/recursive.py @@ -0,0 +1,6 @@ +#!/usr/bin/env python +# coding=utf-8 +""" +Example demonstrating that running a Python script recursively inside another Python script isn't allowed +""" +cmd('pyscript ../script.py') |