

def test_setattr_getattr_special(self):
    d = self.strict_dict_class(['items'])
    d.items = 1
    self.assertEqual(d.items, 1)

dataset/ETHPy150Open MongoEngine/mongoengine/tests/test_datastructures.py TestStrictDict.test_setattr_getattr_special/original