コード例 #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"