Poetry dev (#837)
* black and isort for tests * black and isort for build * use poetry in Makefile, update pyproject.toml dependencies and add configs for black, pytest, mypy, isort there * switching github workflow to poetry * set mininum version to python 3.7 * fix tests * add types-protobuf to dev packages * fix cln regtest * update docs * try fix 1 * mypy fix2 * fix isort formatting workflow * add prettier to dev docs * multiple valid python version for pyproject * update poetry.lock * remove development installation, not needed anymore * fix migration workflows * format into one test * fix yaml * fix pipeline * fix pipeline * fix again * fix * rename checks * remove venv tests * venv test once Co-authored-by: dni <dni.khr@gmail.com>
This commit is contained in:
@@ -1,17 +1,20 @@
|
||||
import pytest
|
||||
import pytest_asyncio
|
||||
|
||||
import hashlib
|
||||
from binascii import hexlify
|
||||
|
||||
import pytest
|
||||
import pytest_asyncio
|
||||
|
||||
from lnbits import bolt11
|
||||
from lnbits.core.crud import get_wallet
|
||||
from lnbits.core.views.api import api_payment
|
||||
|
||||
from lnbits.core.views.api import api_payments_create_invoice, CreateInvoiceData
|
||||
from lnbits.core.views.api import (
|
||||
CreateInvoiceData,
|
||||
api_payment,
|
||||
api_payments_create_invoice,
|
||||
)
|
||||
|
||||
from ...helpers import get_random_invoice_data
|
||||
|
||||
|
||||
# check if the client is working
|
||||
@pytest.mark.asyncio
|
||||
async def test_core_views_generic(client):
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import pytest
|
||||
import pytest_asyncio
|
||||
|
||||
from tests.conftest import client
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
import pytest
|
||||
import pytest_asyncio
|
||||
|
||||
from lnbits.core.crud import get_wallet
|
||||
|
||||
|
||||
# check if the client is working
|
||||
@pytest.mark.asyncio
|
||||
async def test_core_views_generic(client):
|
||||
|
||||
Reference in New Issue
Block a user