This commit is contained in:
dni ⚡
2024-10-17 10:37:32 +02:00
parent 1ed581d2ac
commit a58a698918
5 changed files with 88 additions and 87 deletions
+3 -4
View File
@@ -1,18 +1,18 @@
# ruff: noqa: E402
import asyncio
from time import time
import uvloop
from asgi_lifespan import LifespanManager
from lnbits.wallets.fake import FakeWallet
uvloop.install()
asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())
from time import time
from uuid import uuid4
import pytest
import pytest_asyncio
from asgi_lifespan import LifespanManager
from fastapi.testclient import TestClient
from httpx import ASGITransport, AsyncClient
@@ -112,7 +112,6 @@ async def user_alan():
username="alan",
)
account.hash_password("secret1234")
await create_account(account)
yield account