

def test_title_array(self):
    doc = Document({
        'title': ['Example Page'],
    })
    assert (doc.title == 'Example Page')

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