big fx part2

This commit is contained in:
dni ⚡
2024-10-10 09:07:45 +02:00
parent 383f6ec721
commit 200f5c52a7
12 changed files with 395 additions and 537 deletions
+4 -1
View File
@@ -17,6 +17,7 @@ from lnbits.core.crud import (
create_account,
create_wallet,
get_account_by_username,
get_account,
get_user,
update_payment_status,
)
@@ -148,7 +149,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