コード例 #1
0
 def __init__(self):
     self.api_key = io.getApiKey('OPENFDA_API_KEY')
     self.maxCallsPerSecond = 4
     self.step = 100
     self.status_code = 0
コード例 #2
0
ファイル: io_test.py プロジェクト: STSILABS/fda-sandbox
 def test_getApiKey_present(self):
     actual = io.getApiKey('OPENFDA_API_KEY')
     self.assertTrue(actual)
コード例 #3
0
 def test_getApiKey_present(self):
     actual = io.getApiKey('OPENFDA_API_KEY')
     self.assertTrue(actual)
コード例 #4
0
 def __init__(self):
     self.api_key = io.getApiKey('OPENFDA_API_KEY')
     self.maxCallsPerSecond = 4
     self.step = 100
     self.status_code = 0