Exemplo 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)
Exemplo 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)
Exemplo 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
Exemplo 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)
Exemplo 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
Exemplo 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)