Esempio n. 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)
Esempio n. 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)
Esempio n. 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
Esempio n. 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)
Esempio n. 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
Esempio n. 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)