

def process_change(self, change, is_retry_attempt=False):
    if ((not change.get('deleted')) and ('doc' not in change)):
        raise Exception('missing doc in change')

dataset/ETHPy150Open dimagi/commcare-hq/corehq/ex-submodules/pillow_retry/tests.py FakePillow.process_change/original