예제 #1
0
def test_hyphen_noun():
    assert subcommand.noun("some/path/to/dcos-sub-command") == "sub-command"
예제 #2
0
def test_noun():
    assert subcommand.noun("some/path/to/dcos-command") == "command"