migrate to trio so c-lightning sockets stop hanging.
This commit is contained in:
parent
e74cf33f90
commit
9994e61615
15 changed files with 185 additions and 79 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue