From 8d7302e4cd692740a52b3ab0e6cb52556a8461b3 Mon Sep 17 00:00:00 2001 From: calle <93376500+callebtc@users.noreply.github.com> Date: Mon, 14 Feb 2022 13:49:15 +0100 Subject: [PATCH] fix bleskomat test (#523) --- tests/extensions/bleskomat/test_lnurl_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/extensions/bleskomat/test_lnurl_api.py b/tests/extensions/bleskomat/test_lnurl_api.py index 2e018dcdb..2ee59117e 100644 --- a/tests/extensions/bleskomat/test_lnurl_api.py +++ b/tests/extensions/bleskomat/test_lnurl_api.py @@ -97,7 +97,7 @@ async def test_bleskomat_lnurl_api_action_insufficient_balance(client, lnurl): response = await client.get(f"/bleskomat/u?k1={secret}&pr={pr}") assert response.status_code == 200 assert response.json()["status"] == "ERROR" - assert "Insufficient balance" in response.json()["reason"] + assert ("Insufficient balance" in response.json()["reason"]) or ("fee" in response.json()["reason"]) wallet = await get_wallet(bleskomat.wallet) assert wallet.balance_msat == 0 bleskomat_lnurl = await get_bleskomat_lnurl(secret)