add debug logging into tests (#895)
Co-authored-by: dni <dni.khr@gmail.com>
This commit is contained in:
parent
d649e6a5c0
commit
31a51f3cbc
1 changed files with 3 additions and 0 deletions
3
Makefile
3
Makefile
|
|
@ -32,11 +32,13 @@ test:
|
||||||
FAKE_WALLET_SECRET="ToTheMoon1" \
|
FAKE_WALLET_SECRET="ToTheMoon1" \
|
||||||
LNBITS_DATA_FOLDER="./tests/data" \
|
LNBITS_DATA_FOLDER="./tests/data" \
|
||||||
PYTHONUNBUFFERED=1 \
|
PYTHONUNBUFFERED=1 \
|
||||||
|
DEBUG=true \
|
||||||
poetry run pytest
|
poetry run pytest
|
||||||
|
|
||||||
test-real-wallet:
|
test-real-wallet:
|
||||||
LNBITS_DATA_FOLDER="./tests/data" \
|
LNBITS_DATA_FOLDER="./tests/data" \
|
||||||
PYTHONUNBUFFERED=1 \
|
PYTHONUNBUFFERED=1 \
|
||||||
|
DEBUG=true \
|
||||||
poetry run pytest
|
poetry run pytest
|
||||||
|
|
||||||
test-venv:
|
test-venv:
|
||||||
|
|
@ -44,6 +46,7 @@ test-venv:
|
||||||
FAKE_WALLET_SECRET="ToTheMoon1" \
|
FAKE_WALLET_SECRET="ToTheMoon1" \
|
||||||
LNBITS_DATA_FOLDER="./tests/data" \
|
LNBITS_DATA_FOLDER="./tests/data" \
|
||||||
PYTHONUNBUFFERED=1 \
|
PYTHONUNBUFFERED=1 \
|
||||||
|
DEBUG=true \
|
||||||
./venv/bin/pytest --durations=1 -s --cov=lnbits --cov-report=xml tests
|
./venv/bin/pytest --durations=1 -s --cov=lnbits --cov-report=xml tests
|
||||||
|
|
||||||
test-migration:
|
test-migration:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue