sdvillal / whatami

Easily provide python objects with self-identification
Other
9 stars 1 forks source link

Empty string makes parsing fail #15

Closed sdvillal closed 7 years ago

sdvillal commented 7 years ago
def test_parse_empty_string():
    what = parse_whatid("f(x='')")
    assert what.name == 'f'
    assert what.conf == {'x': ''}