def test_attribify(self): nested = DictUtils.attribify([{ "this": "is", "a": ["nested", { "dictionary": 4 }] }]) assert nested[0].this == "is" assert nested[0].a[0] == "nested" assert nested[0].a[1].dictionary == 4
def test_attribify(self): nested = DictUtils.attribify([{"this": "is", "a": ["nested", {"dictionary": 4}]}]) assert nested[0].this == "is" assert nested[0].a[0] == "nested" assert nested[0].a[1].dictionary == 4