We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97a9fca commit 40a81a5Copy full SHA for 40a81a5
test/verifications.py
@@ -5,14 +5,11 @@
5
import unittest
6
import os, sys
7
8
-blockscore.api_key = 'your_api_key'
9
-
10
class TestBlockscore(unittest.TestCase):
11
12
def setUp(self):
13
try:
14
- api_key = blockscore.api_key
15
- self.client = blockscore.Client({'api_key':api_key})
+ self.client = blockscore.Client({'api_key': 'your_api_key'})
16
except KeyError:
17
sys.stderr.write("To run tests, you must have a BLOCKSCORE_API environment variable with a test api key\n")
18
sys.exit(2)
0 commit comments