def test_update_web_uri(self, document_uris, factories, expected_web_uri): document = factories.Document() for docuri_tuple in document_uris: factories.DocumentURI(uri=docuri_tuple[0], type=docuri_tuple[1], document=document) document.update_web_uri() assert document.web_uri == expected_web_uri
def test_update_web_uri(self, document_uris, factories, expected_web_uri): document = factories.Document() for docuri_tuple in document_uris: factories.DocumentURI(uri=docuri_tuple[0], type=docuri_tuple[1], document=document) document.update_web_uri() assert document.web_uri == expected_web_uri