summaryrefslogtreecommitdiff
path: root/tests/pyscript
diff options
context:
space:
mode:
authorEric Lin <anselor@gmail.com>2018-04-30 19:16:00 -0400
committerEric Lin <anselor@gmail.com>2018-04-30 19:16:00 -0400
commit4a36b8c68d24707e85a1030759ec42b1a07421e1 (patch)
tree10e85a6aa5c8da383b6d1d88748e25b19dcbeefe /tests/pyscript
parente5699bc65b20b1428e3c8db5cf3f8b5d8bf41569 (diff)
downloadcmd2-git-4a36b8c68d24707e85a1030759ec42b1a07421e1.tar.gz
Further customization of argparse applying patch submitted to https://bugs.python.org/issue15112
Added additional tests - now at 100% coverage of pyscript_bridge.py Still need handling of special action types: StoreTrue/False, store_const, count
Diffstat (limited to 'tests/pyscript')
-rw-r--r--tests/pyscript/media_movies_add2.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/pyscript/media_movies_add2.py b/tests/pyscript/media_movies_add2.py
new file mode 100644
index 00000000..5c4617ae
--- /dev/null
+++ b/tests/pyscript/media_movies_add2.py
@@ -0,0 +1 @@
+app.media.movies.add('My Movie', 'PG-13', actor=('Mark Hamill'), director=('George Lucas', 'J. J. Abrams'))