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