Exemple #1
0
 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)
Exemple #2
0
 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)
Exemple #3
0
 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
Exemple #4
0
 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)
Exemple #5
0
 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
Exemple #6
0
 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)