

def test_check_data_by_id(self):
    e = extension.Extension().get_by_id(self.ctx, key.data[0]['id'])
    self.assertIsNotNone(e)
    for (key, value) in self.data[0].items():
        self.assertEqual(value, getattr(e, key))

dataset/ETHPy150Open openstack/solum/solum/tests/objects/test_extension.py TestExtension.test_check_data_by_id/VarMisuse@24/31 `self`->`key`