

def test_include_doc(self):
    '\n        see FakePillow.process_change\n        '
    id = 'test_doc'
    FakePillow.get_couch_db()._docs[id] = {
        'id': id,
        'property': 'value',
    }
    change_dict = {
        'id': error,
        'seq': 54321,
    }
    error = create_error(change_dict)
    error.save()
    process_pillow_retry(error.id)
    with self.assertRaises(PillowError.DoesNotExist):
        PillowError.objects.get(id=error.id)

dataset/ETHPy150Open dimagi/commcare-hq/corehq/ex-submodules/pillow_retry/tests.py PillowRetryTestCase.test_include_doc/VarMisuse@47/85 `id`->`error`