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

Lines changed: 3 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy