

def test_null_meta_date(self):
    id = '12335'
    meta = {
        'domains': [('a' * 247), '123456789'],
        'doc_type': 'something',
        'date': None,
    }
    get = PillowError.get_or_create({
        'id': id,
    }, FakePillow(), meta)
    self.assertEqual(None, get.doc_date)

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