Exemple #1
0
 def test_no_headers(self):
     """Checks if the doi that requires 'User-Agent' header is working"""
     doi = "10.1016/0550-3213(89)90423-9"
     wrong_output = {}
     self.assertNotEqual(perform_doi_search(doi), wrong_output)
 def test_no_headers(self):
     """Checks if the doi that requires 'User-Agent' header is working"""
     doi = "10.1016/0550-3213(89)90423-9"
     wrong_output = {}
     self.assertNotEqual(perform_doi_search(doi), wrong_output)
Exemple #3
0
 def test_normal(self):
     """Checks if some standard doi is working"""
     doi = "10.1007/BF02724522"
     wrong_output = {}
     self.assertNotEqual(perform_doi_search(doi), wrong_output)
 def test_normal(self):
     """Checks if some standard doi is working"""
     doi = "10.1007/BF02724522"
     wrong_output = {}
     self.assertNotEqual(perform_doi_search(doi), wrong_output)