Example #1
0
 def __init__(self):
     self.api_key = io.getApiKey('OPENFDA_API_KEY')
     self.maxCallsPerSecond = 4
     self.step = 100
     self.status_code = 0
Example #2
0
 def test_getApiKey_present(self):
     actual = io.getApiKey('OPENFDA_API_KEY')
     self.assertTrue(actual)
Example #3
0
 def test_getApiKey_present(self):
     actual = io.getApiKey('OPENFDA_API_KEY')
     self.assertTrue(actual)
Example #4
0
 def __init__(self):
     self.api_key = io.getApiKey('OPENFDA_API_KEY')
     self.maxCallsPerSecond = 4
     self.step = 100
     self.status_code = 0