

def test_fields_match(self):
    exists = self._fake_usage(is_exists=True)
    kwargs = {
        'launched_at': exists.launched_at,
    }
    instance = self._fake_reconciler_instance(**kwargs)
    self.mox.ReplayAll()
    match_code = self.reconciler._fields_match(exists, instance)
    self.assertEqual(match_code, 0)
    exists.mox.VerifyAll()

dataset/ETHPy150Open openstack/stacktach/tests/unit/test_reconciler.py ReconcilerTestCase.test_fields_match/VarMisuse@74/102 `self`->`exists`