Testing: postgres db backend (#711)

* try postgres run

* fix yaml

* test with postgres

* check with postgres

* inkey_from

* remove trio

* add coverage

* add coverage

* more python testing

* use @pytest_asyncio.fixture

* remove unused imports

* fix api_payment payment lookup

* measure durations
This commit is contained in:
calle
2022-07-07 18:29:26 +02:00
committed by GitHub
parent 262bd32f44
commit 63d4e60542
12 changed files with 91 additions and 45 deletions
-3
View File
@@ -1,12 +1,9 @@
import time
from mock import AsyncMock
from lnbits import bolt11
from lnbits.wallets.base import (
StatusResponse,
InvoiceResponse,
PaymentResponse,
PaymentStatus,
Wallet,
)
from lnbits.settings import WALLET