diff --git a/tests/core/views/test_api.py b/tests/core/views/test_api.py index 01427cba..61a71d31 100644 --- a/tests/core/views/test_api.py +++ b/tests/core/views/test_api.py @@ -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