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

Commitfea7b0d

Browse files
authored
Updated unittest instructions
1 parentc79bffe commitfea7b0d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎README.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ All of the *free* GET endpoints from the following modules are provided:
107107

108108
</details>
109109

110-
If you think that a newly-added method is missing, kindly open an[issue](https://github.com/pcko1/etherscan-python/issues) as a feature request and I will do my best to add it.
110+
*If you think that a newly-added method is missing, kindly open an[issue](https://github.com/pcko1/etherscan-python/issues) as a feature request and I will do my best to add it.*
111111

112112
##Installation
113113

@@ -131,12 +131,12 @@ Then, install the package:
131131
pip install.
132132
```
133133

134-
##Run unittests
134+
##Run unittests (bash)
135135

136-
Testthat everything looks OK on your end before proceeding:
136+
In`bash`, testthat everything looks OK on your end using your`API_KEY` (without quotation marks) before proceeding:
137137

138138
```bash
139-
coverage run -m unittest discover&& coverage report -m
139+
bash run_tests.sh YOUR_API_KEY
140140
````
141141

142142
This will regenerate the logs under`logs/` with the most recent results and the timestamp of the execution.
@@ -148,7 +148,7 @@ In `python`, create a client with your personal [Etherscan.io](Etherscan.io) API
148148
``` python
149149
from etherscan import Etherscan
150150
151-
api_key = YOUR_API_KEY
151+
api_key = YOUR_API_KEY# use quotation marks because it is a Python string
152152
config_path = "etherscan/configs/stable.json"
153153
154154
eth = Etherscan.from_config(config_path, api_key)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp