MCPcopy Index your code
hub / github.com/docopt/docopt / test_option_name

Function test_option_name

test_docopt.py:50–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48
49
50def test_option_name():
51 assert Option('-h', None).name == '-h'
52 assert Option('-h', '--help').name == '--help'
53 assert Option(None, '--help').name == '--help'
54
55
56def test_commands():

Callers

nothing calls this directly

Calls 1

OptionClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…