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:
parent
262bd32f44
commit
63d4e60542
12 changed files with 91 additions and 45 deletions
2
Makefile
2
Makefile
|
|
@ -35,7 +35,7 @@ test:
|
|||
FAKE_WALLET_SECRET="ToTheMoon1" \
|
||||
LNBITS_DATA_FOLDER="./tests/data" \
|
||||
PYTHONUNBUFFERED=1 \
|
||||
./venv/bin/pytest -s
|
||||
./venv/bin/pytest --durations=1 -s --cov=lnbits --cov-report=xml
|
||||
|
||||
bak:
|
||||
# LNBITS_DATABASE_URL=postgres://postgres:postgres@0.0.0.0:5432/postgres
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue