Add some pending fixes (typos and tests)

This commit is contained in:
Sergi Delgado Segura
2020-03-16 16:11:08 +01:00
parent b3672ec02c
commit 67942450e6
3 changed files with 15 additions and 1 deletions

View File

@@ -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"`

View File

@@ -1 +1,3 @@
responses
pytest
black

View File

@@ -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