From c0c4a28424113cac01b7041e02b89c782039034f Mon Sep 17 00:00:00 2001 From: martynia Date: Fri, 20 Sep 2024 13:59:42 +0100 Subject: [PATCH] fix: add PilotLogDB connections kwargs for tests --- diracx-testing/src/diracx/testing/__init__.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/diracx-testing/src/diracx/testing/__init__.py b/diracx-testing/src/diracx/testing/__init__.py index 055c770a..47d90a1b 100644 --- a/diracx-testing/src/diracx/testing/__init__.py +++ b/diracx-testing/src/diracx/testing/__init__.py @@ -211,10 +211,8 @@ def enrich_tokens(access_payload: dict, refresh_payload: dict): test_dev_settings, ], database_urls=database_urls, - os_database_conn_kwargs={ - # TODO: JobParametersDB - "PilotLogsDB": {} - }, + os_database_conn_kwargs=os_database_conn_kwargs + | {"PilotLogsDB": {"sqlalchemy_dsn": "sqlite+aiosqlite:///:memory:"}}, config_source=ConfigSource.create_from_url( backend_url=f"git+file://{with_config_repo}" ),