mirror of
https://github.com/lnbits/lnbits.git
synced 2026-08-13 12:42:47 +02:00
fix: hope for regtest to work
This commit is contained in:
parent
f66f2fe6c2
commit
dedfcd4818
1 changed files with 1 additions and 4 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue