Exemple #1
0
def test_ignore_underscore():
    funcs = funcdoc.find_handlers(underscore_code)
    names = {fn['name'] for fn in funcs}
    assert {'info', 'warning'} == names, 'names'
Exemple #2
0
def test_find_handlers():
    funcs = funcdoc.find_handlers(find_handlers_code)
    assert find_handlers_expected == funcs