shlax/test_cli.py
2020-03-04 02:14:54 +01:00

8 lines
170 B
Python

from shlax.cli import ConsoleScript
def test_parser():
parser = ConsoleScript.Parser(['@host'])
parser.parse()
assert parser.targets['host'] == Ssh('host')