

def test_uris_disregard_doi_links(self):
    doc = Document({
        'link': [{
            'href': 'doi:foobar',
        }],
    })
    assert (len(doc.document_uris) == 0)

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