1 parent 6867c9b commit 2c7993dCopy full SHA for 2c7993d
1 file changed
test/verifications.py
@@ -9,7 +9,7 @@ class TestBlockscore(unittest.TestCase):
9
10
def setUp(self):
11
try:
12
- self.client = blockscore.Client({'api_key': 'your_api_key'})
+ self.client = blockscore.Client({'api_key': os.environ['BLOCKSCORE_API']})
13
except KeyError:
14
sys.stderr.write("To run tests, you must have a BLOCKSCORE_API environment variable with a test api key\n")
15
sys.exit(2)
0 commit comments