test: fix lndrest on regtest (#2811)

* fix: lndrest on regtest
* fix some race conditions on lndrest
This commit is contained in:
dni ⚡ 2024-12-12 07:54:43 +01:00 committed by GitHub
parent 61c71660b8
commit 1b9bb32ca0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 19 additions and 11 deletions

View file

@ -3,11 +3,6 @@ import pytest
from .helpers import get_hold_invoice, get_real_invoice
@pytest.fixture(scope="session")
def anyio_backend():
return "asyncio"
@pytest.fixture(scope="function")
async def hold_invoice():
invoice = get_hold_invoice(100)