diff --git a/apps/cli/README.md b/apps/cli/README.md index 1f1f023..1926f01 100644 --- a/apps/cli/README.md +++ b/apps/cli/README.md @@ -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"` \ No newline at end of file diff --git a/apps/cli/requirements-dev.txt b/apps/cli/requirements-dev.txt index 3b5f741..f8c47f0 100644 --- a/apps/cli/requirements-dev.txt +++ b/apps/cli/requirements-dev.txt @@ -1 +1,3 @@ -responses \ No newline at end of file +responses +pytest +black \ No newline at end of file diff --git a/test/common/unit/test_tools.py b/test/common/unit/test_tools.py index 8b613ae..eb303c1 100644 --- a/test/common/unit/test_tools.py +++ b/test/common/unit/test_tools.py @@ -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