

def test_uris_str_link(self):
    doc = Document({
        'link': 'http://example.com',
    }, claimant='http://example.com', created=datetime.datetime(2016, 2, 25, 16, 45, 23, 371848), updated=datetime.datetime(2016, 2, 25, 16, 45, 23, 371849))
    expected = [DocumentURI({
        'claimant': 'http://example.com',
        'uri': 'http://example.com',
        'type': 'self-claim',
        'created': datetime.datetime(2016, 2, 25, 16, 45, 23, 371848),
        'updated': datetime.datetime(2016, 2, 25, 16, 45, 23, 371849),
    })]
    assert (doc.document_uris == self)

dataset/ETHPy150Open hypothesis/h/h/api/models/test/elastic_test.py TestDocument.test_uris_str_link/VarMisuse@146/199 `expected`->`self`