Пример #1
0
def test_fromkeys_returns_our_type():
    d = AttrDict.fromkeys(['scotch', 'rye', 'bourbon'], "whiskey")
    assert d.__class__ is AttrDict