From 7583f315cee2930c5e6e5faec697d59c8b2063cd Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Wed, 15 Jun 2022 13:21:37 -0700 Subject: [PATCH] add long options tests --- tests/test_cli.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/test_cli.py b/tests/test_cli.py index 4079c582..07ba93d5 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -25,7 +25,10 @@ class MyTests(unittest.TestCase): 'jc -h': (False, None, None, []), 'jc -h --arp': (False, None, None, []), 'jc -h arp': (False, None, None, []), - 'jc -h arp -a': (False, None, None, []) + 'jc -h arp -a': (False, None, None, []), + 'jc --pretty dig': (True, ['dig'], '--dig', ['p']), + 'jc --pretty --monochrome --quiet --raw dig': (True, ['dig'], '--dig', ['p', 'm', 'q', 'r']), + 'jc --about --yaml-out': (False, None, None, []) } for command, expected_command in commands.items():