1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-17 00:07:37 +02:00

add long options tests

This commit is contained in:
Kelly Brazil
2022-06-15 13:21:37 -07:00
parent 7fd70d2088
commit 7583f315ce

View File

@ -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():