

def test_title_empty_array(seld):
    doc = Document({
        'title': [],
    })
    assert (doc.title is None)

dataset/ETHPy150Open hypothesis/h/h/api/models/test/elastic_test.py TestDocument.test_title_empty_array/original