big fx part2

This commit is contained in:
dni ⚡
2024-10-17 10:36:42 +02:00
parent 03f2417d4d
commit 225181c969
12 changed files with 397 additions and 539 deletions
+4 -1
View File
@@ -19,6 +19,7 @@ from lnbits.core.crud import (
create_account,
create_wallet,
get_account_by_username,
get_account,
get_user,
update_payment_status,
)
@@ -150,7 +151,9 @@ def from_super_user(from_user):
@pytest_asyncio.fixture(scope="session")
async def superuser():
user = await get_user(settings.super_user)
account = await get_account(settings.super_user)
assert account, "Superuser not found"
user = await get_user(account)
yield user