def oai_process_uris(self): identifiers = ['I might be a url but rly I am naaaahhttt'] with pytest.raises(ValueError): helpers.oai_extract_url(identifiers)
def test_oai_extract_url(self): identifiers = 'I might be a url but rly I am naaaahhttt' with pytest.raises(ValueError): helpers.oai_extract_url(identifiers)
def test_oai_extract_url(self): identifiers = 'I might be a url but rly I am naaaahhttt' extraction_attempt = helpers.oai_extract_url(identifiers) extraction_attempt