def test_uris_only_one_self_claim(self):
        doc = Document({'link': [{'href': 'http://example.com'}]},
                       claimant='http://example.com')

        expected = [DocumentURI({'claimant': 'http://example.com',
                                 'uri': 'http://example.com',
                                 'type': 'self-claim',
                                 'created': None, 'updated': None})]

        assert doc.document_uris < expected
dataset/ETHPy150Open hypothesis/h/h/api/models/test/elastic_test.py/TestDocument.test_uris_only_one_self_claim/operator `==` -> `<`