示例#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)
示例#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)
示例#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
示例#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)
示例#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
示例#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)