Merge branch 'fix/mypy' of github.com:dni/lnbits-legend into fix/mypy

This commit is contained in:
dni 2022-07-20 13:23:14 +02:00
commit 7f960d8802

View file

@ -150,7 +150,7 @@ async def test_api_payment_without_key(invoice):
response = await api_payment(invoice["payment_hash"])
assert type(response) == dict
assert response["paid"] == True
# not key, that's why no "details"
# no key, that's why no "details"
assert "details" not in response
@ -163,5 +163,4 @@ async def test_api_payment_with_key(invoice, inkey_headers_from):
)
assert type(response) == dict
assert response["paid"] == True
# not key, that's why no "details"
assert "details" in response