def test_include_doc(self):
        id = 'test_doc'
        FakePillow.get_couch_db()._docs[id] = {'id': id, 'property': 'value'}
        change_dict = {'id': id, 'seq': 54321}
        error = create_error(change_dict)
        error.save()
        process_pillow_retry(error.id)

        #  if processing is successful the record will be deleted
        with self.assertRaises(PillowError.DoesNotExist):
            PillowError.objects.get(id=error.id)
Send message through the channel
dataset/ETHPy150Open dimagi/commcare-hq/corehq/ex-submodules/pillow_retry/tests.py/PillowRetryTestCase.test_include_doc--crossover with--dataset/ETHPy150Open joausaga/reportbytwitter/cparte/social_network.py/SocialNetwork.send_message