Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b11da84

Browse files
author
Kotsias, Panagiotis-Christos
committed
Deleted pyc
1 parent 88470d5 commit b11da84

File tree

7 files changed

+8
-30
lines changed

7 files changed

+8
-30
lines changed

etherscan_python.egg-info/PKG-INFO

-10
This file was deleted.

etherscan_python.egg-info/SOURCES.txt

-11
This file was deleted.

etherscan_python.egg-info/dependency_links.txt

-1
This file was deleted.

etherscan_python.egg-info/not-zip-safe

-1
This file was deleted.

etherscan_python.egg-info/requires.txt

-2
This file was deleted.

etherscan_python.egg-info/top_level.txt

-1
This file was deleted.

test/test_modules.py

+8-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@
22
from datetime import datetime
33
from unittest import TestCase
44

5+
import requests
6+
57
from etherscan.etherscan import Etherscan
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
def load(fname):
@@ -23,8 +27,8 @@ class Case(TestCase):
2327

2428
def test_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
for fun, v in config.items():
2933
if not fun.startswith("_"): # disabled if _
3034
if v["module"] == self._MODULE:

0 commit comments

Comments
 (0)