예제 #1
0
def test_super_dict():
    d = SuperDict(DICT1)
    u = DICT2.copy()

    d.recursive_update(u)

    assert dict(d) == DICT2
예제 #2
0
파일: alerts.py 프로젝트: jcmcken/pallium
    def __init__(self, data):
        SuperDict.__init__(self, self.default)

        self._load_config(data)