fix: hope for regtest to work

This commit is contained in:
Vlad Stan
2026-03-25 11:37:21 +02:00
parent f66f2fe6c2
commit dedfcd4818
+1 -4
View File
@@ -65,9 +65,7 @@ def run_before_and_after_tests(settings: Settings):
@pytest.fixture(scope="session")
async def app(settings: Settings):
app = create_app()
async with LifespanManager(
app, startup_timeout=300, shutdown_timeout=300
) as manager:
async with LifespanManager(app) as manager:
settings.first_install = True
await first_install(
UpdateSuperuserPassword(
@@ -348,4 +346,3 @@ def _settings_cleanup(settings: Settings):
settings.lnbits_user_activation_by_invitation_code = False
settings.lnbits_register_reusable_activation_code = ""
settings.lnbits_register_one_time_activation_codes = []
# settings.lnbits_backend_wallet_class = "FakeWallet"