Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbb6c42d

Browse files
committed
Removed config_path from kwargs
1 parent695cc55 commitbb6c42d

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
importjson
22
fromdatetimeimportdatetime
3+
34
importos
45
fromunittestimportTestCase
56

67
frometherscan.etherscanimportEtherscan
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
deftest_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
forfun,vinconfig.items():
3031
ifnotfun.startswith("_"):# disabled if _
3132
ifv["module"]==self._MODULE:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp