Skip to content

Commit

Permalink
info output for pytest debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
relativisticelectron committed Oct 3, 2022
1 parent 361eb04 commit 07f3aaa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_ep_wallet_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,11 @@ def fake_translate(text):
def test_txout_set_info(caplog, app, client):
caplog.set_level(logging.DEBUG)
caplog.set_level(logging.DEBUG, logger="cryptoadvance.specter")
logger = logging.getLogger(__file__)
login(client, "secret")
logger.info(f"app.url_map {app.url_map}")
res = client.get("/wallets/get_txout_set_info")
logger.info(f"response of /wallets/get_txout_set_info is {res}")
assert res.status == "200 OK"
print(json.loads(res.data))
assert json.loads(res.data)["total_amount"] > 0
Expand Down

0 comments on commit 07f3aaa

Please sign in to comment.