Skip to content

Commit bb6c42d

Browse files
committed
Removed config_path from kwargs
1 parent 695cc55 commit bb6c42d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/test_modules.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
import json
22
from datetime import datetime
3+
34
import os
45
from unittest import TestCase
56

67
from etherscan.etherscan import Etherscan
78

8-
CONFIG_PATH = "configs/stable.json"
9+
CONFIG_PATH = "etherscan/configs/stable.json"
910
API_KEY = os.environ["API_KEY"] # Encrypted env var by Travis
1011

1112

@@ -25,7 +26,7 @@ class Case(TestCase):
2526
def test_methods(self):
2627
print(f"\nMODULE: {self._MODULE}")
2728
config = load(CONFIG_PATH)
28-
etherscan = Etherscan.from_config(CONFIG_PATH, API_KEY)
29+
etherscan = Etherscan(API_KEY)
2930
for fun, v in config.items():
3031
if not fun.startswith("_"): # disabled if _
3132
if v["module"] == self._MODULE:

0 commit comments

Comments
 (0)