This commit is contained in:
Riccardo Balbo 2026-05-19 13:35:03 +00:00
commit 16dd9015c4

View file

@ -872,9 +872,7 @@ async def test_never_refresh_budget_counts_previous_spend():
) )
assert resp.status_code == 200 assert resp.status_code == 200
payer_nwc = next( payer_nwc = next(
item item for item in resp.json() if item["data"]["pubkey"] == nwc3["pubkey"]
for item in resp.json()
if item["data"]["pubkey"] == nwc3["pubkey"]
) )
assert payer_nwc["budgets"][0]["used_budget_msats"] == 60000 assert payer_nwc["budgets"][0]["used_budget_msats"] == 60000