def test_super_dict(): d = SuperDict(DICT1) u = DICT2.copy() d.recursive_update(u) assert dict(d) == DICT2
def __init__(self, data): SuperDict.__init__(self, self.default) self._load_config(data)