Skip to content

Commit 40a81a5

Browse files
committed
Reverted to old method of api_key input
It worked just fine, and still preserved security.
1 parent 97a9fca commit 40a81a5

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/verifications.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,11 @@
55
import unittest
66
import os, sys
77

8-
blockscore.api_key = 'your_api_key'
9-
108
class TestBlockscore(unittest.TestCase):
119

1210
def setUp(self):
1311
try:
14-
api_key = blockscore.api_key
15-
self.client = blockscore.Client({'api_key':api_key})
12+
self.client = blockscore.Client({'api_key': 'your_api_key'})
1613
except KeyError:
1714
sys.stderr.write("To run tests, you must have a BLOCKSCORE_API environment variable with a test api key\n")
1815
sys.exit(2)

0 commit comments

Comments
 (0)