Merge branch 'fix/mypy' of github.com:dni/lnbits-legend into fix/mypy
This commit is contained in:
commit
7f960d8802
1 changed files with 1 additions and 2 deletions
|
|
@ -150,7 +150,7 @@ async def test_api_payment_without_key(invoice):
|
||||||
response = await api_payment(invoice["payment_hash"])
|
response = await api_payment(invoice["payment_hash"])
|
||||||
assert type(response) == dict
|
assert type(response) == dict
|
||||||
assert response["paid"] == True
|
assert response["paid"] == True
|
||||||
# not key, that's why no "details"
|
# no key, that's why no "details"
|
||||||
assert "details" not in response
|
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 type(response) == dict
|
||||||
assert response["paid"] == True
|
assert response["paid"] == True
|
||||||
# not key, that's why no "details"
|
|
||||||
assert "details" in response
|
assert "details" in response
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue