migrate to trio so c-lightning sockets stop hanging.

This commit is contained in:
fiatjaf 2020-10-03 21:57:14 -03:00
parent e74cf33f90
commit 9994e61615
15 changed files with 185 additions and 79 deletions

View file

@ -4,7 +4,6 @@ from lnbits.app import create_app
@pytest.fixture
@pytest.mark.asyncio
async def client():
app = create_app()
app.config["TESTING"] = True

View file

@ -1,7 +1,6 @@
import pytest
@pytest.mark.asyncio
async def test_homepage(client):
r = await client.get("/")
assert b"Add a new wallet" in await r.get_data()