MCPcopy
hub / github.com/docopt/docopt / test_issue_40

Function test_issue_40

test_docopt.py:437–441  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

435
436
437def test_issue_40():
438 with raises(SystemExit): # i.e. shows help
439 docopt('usage: prog --help-commands | --help', '--help')
440 assert docopt('usage: prog --aabb | --aa', '--aa') == {'--aabb': False,
441 '--aa': True}
442
443
444def test_issue34_unicode_strings():

Callers

nothing calls this directly

Calls 1

docoptFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…