

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

dataset/ETHPy150Open openstack/stacktach/tests/unit/test_reconciler.py ReconcilerTestCase.test_fields_match_field_with_deleted/VarMisuse@90/129 `self`->`kwargs`