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

add more cli tests for magic command

This commit is contained in:
Kelly Brazil
2021-04-09 11:38:17 -07:00
parent 6ebebb659d
commit 490c9e1769

View File

@ -19,7 +19,13 @@ class MyTests(unittest.TestCase):
'jc -p -r airport -I': 'airport -I | jc --airport -pr',
'jc -prd airport -I': 'airport -I | jc --airport -prd',
'jc -p nonexistent command': 'nonexistent command',
'jc -ap': None
'jc -ap': None,
'jc -a arp -a': None,
'jc -v': None,
'jc -h': None,
'jc -h --arp': None,
'jc -h arp': None,
'jc -h arp -a': None
}
for command, expected_command in commands.items():