Files
deb-python-dcos/tests/test_subcommand.py
José Armando García Sancio 5a340cba96 Move modules from dcos.api to dcos
2015-04-29 22:32:54 -07:00

10 lines
219 B
Python

from dcos import subcommand
def test_noun():
assert subcommand.noun("some/path/to/dcos-command") == "command"
def test_hyphen_noun():
assert subcommand.noun("some/path/to/dcos-sub-command") == "sub-command"