From 4a36b8c68d24707e85a1030759ec42b1a07421e1 Mon Sep 17 00:00:00 2001 From: Eric Lin Date: Mon, 30 Apr 2018 19:16:00 -0400 Subject: 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 --- tests/test_pyscript.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/test_pyscript.py') diff --git a/tests/test_pyscript.py b/tests/test_pyscript.py index 24626243..2a264a15 100644 --- a/tests/test_pyscript.py +++ b/tests/test_pyscript.py @@ -106,6 +106,8 @@ def test_pyscript_help(ps_app, capsys, request, command, pyscript_file): ('media movies list -r PG PG-13', 'media_movies_list7.py'), ('media movies add "My Movie" PG-13 --director "George Lucas" "J. J. Abrams"', 'media_movies_add1.py'), + ('media movies add "My Movie" PG-13 --director "George Lucas" "J. J. Abrams" "Mark Hamill"', + 'media_movies_add2.py'), ]) def test_pyscript_out(ps_app, capsys, request, command, pyscript_file): test_dir = os.path.dirname(request.module.__file__) -- cgit v1.2.1