

def test_id(self):
    id = '12345'
    change_dict = {
        'id': id,
        'seq': 54321,
    }
    error = create_error(change_dict)
    self.assertEqual(error.doc_id, id)
    self.assertEqual(error.pillow, 'FakePillow')
    self.assertEqual(error.change_object.id, id)
    self.assertEqual(error.change_object.sequence_id, 54321)

dataset/ETHPy150Open dimagi/commcare-hq/corehq/ex-submodules/pillow_retry/tests.py PillowRetryTestCase.test_id/original