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

Commitb11da84

Browse files
author
Kotsias, Panagiotis-Christos
committed
Deleted pyc
1 parent88470d5 commitb11da84

File tree

7 files changed

+8
-30
lines changed

7 files changed

+8
-30
lines changed

‎etherscan_python.egg-info/PKG-INFO‎

Lines changed: 0 additions & 10 deletions
This file was deleted.

‎etherscan_python.egg-info/SOURCES.txt‎

Lines changed: 0 additions & 11 deletions
This file was deleted.

‎etherscan_python.egg-info/dependency_links.txt‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎etherscan_python.egg-info/not-zip-safe‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎etherscan_python.egg-info/requires.txt‎

Lines changed: 0 additions & 2 deletions
This file was deleted.

‎etherscan_python.egg-info/top_level.txt‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎test/test_modules.py‎

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@
22
fromdatetimeimportdatetime
33
fromunittestimportTestCase
44

5+
importrequests
6+
57
frometherscan.etherscanimportEtherscan
68

7-
_CONFIG_PATH="etherscan/configs/stable.json"
8-
_API_KEY="3PTZ5UHY7I9GGD74FJY6SXYS6JSVY295E5"
9+
CONFIG_PATH="etherscan/configs/stable.json"
10+
API_KEY=requests.get(
11+
"https://jsonblob.com/api/7354bb23-0505-11eb-a3b7-a921883d52ea"
12+
).json()["key"]
913

1014

1115
defload(fname):
@@ -23,8 +27,8 @@ class Case(TestCase):
2327

2428
deftest_methods(self):
2529
print(f"\nMODULE:{self._MODULE}")
26-
config=load(_CONFIG_PATH)
27-
etherscan=Etherscan.from_config(_CONFIG_PATH,_API_KEY)
30+
config=load(CONFIG_PATH)
31+
etherscan=Etherscan.from_config(CONFIG_PATH,API_KEY)
2832
forfun,vinconfig.items():
2933
ifnotfun.startswith("_"):# disabled if _
3034
ifv["module"]==self._MODULE:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp