fix: hope for regtest to work
This commit is contained in:
+1
-4
@@ -65,9 +65,7 @@ def run_before_and_after_tests(settings: Settings):
|
|||||||
@pytest.fixture(scope="session")
|
@pytest.fixture(scope="session")
|
||||||
async def app(settings: Settings):
|
async def app(settings: Settings):
|
||||||
app = create_app()
|
app = create_app()
|
||||||
async with LifespanManager(
|
async with LifespanManager(app) as manager:
|
||||||
app, startup_timeout=300, shutdown_timeout=300
|
|
||||||
) as manager:
|
|
||||||
settings.first_install = True
|
settings.first_install = True
|
||||||
await first_install(
|
await first_install(
|
||||||
UpdateSuperuserPassword(
|
UpdateSuperuserPassword(
|
||||||
@@ -348,4 +346,3 @@ def _settings_cleanup(settings: Settings):
|
|||||||
settings.lnbits_user_activation_by_invitation_code = False
|
settings.lnbits_user_activation_by_invitation_code = False
|
||||||
settings.lnbits_register_reusable_activation_code = ""
|
settings.lnbits_register_reusable_activation_code = ""
|
||||||
settings.lnbits_register_one_time_activation_codes = []
|
settings.lnbits_register_one_time_activation_codes = []
|
||||||
# settings.lnbits_backend_wallet_class = "FakeWallet"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user