mirror of
https://github.com/aljazceru/python-teos.git
synced 2025-12-18 14:44:21 +01:00
Add some pending fixes (typos and tests)
This commit is contained in:
@@ -145,3 +145,14 @@ or
|
||||
## the Eye of Satoshi's API
|
||||
|
||||
If you wish to read about the underlying API, and how to write your own tool to interact with it, refer to [tEOS-API.md](tEOS-API.md).
|
||||
|
||||
## Are you reckless? Try me on mainnet
|
||||
Would you like to try me on `mainnet` instead of `testnet`? Add `-s https://mainnet.teos.pisa.watch` to your calls, for example:
|
||||
|
||||
```
|
||||
python wt_cli.py -s https://teosmainnet.pisa.watch add_appointment -f dummy_appointment_data.json
|
||||
```
|
||||
|
||||
You can also change the config file to avoid specifying the server every time:
|
||||
|
||||
`DEFAULT_PISA_API_SERVER = "https://teosmainnet.pisa.watch"`
|
||||
@@ -1 +1,3 @@
|
||||
responses
|
||||
pytest
|
||||
black
|
||||
@@ -3,6 +3,7 @@ import pytest
|
||||
import logging
|
||||
from copy import deepcopy
|
||||
|
||||
# FIXME: Import from pisa. Common should not import anything from cli nor pisa.
|
||||
from pisa import conf_fields
|
||||
|
||||
from common.constants import LOCATOR_LEN_BYTES
|
||||
|
||||
Reference in New Issue
Block a user