Skip to content

Commit

Permalink
fix: add PilotLogDB connections kwargs for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
martynia committed Oct 16, 2024
1 parent 23e8c40 commit c32c1fc
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions diracx-testing/src/diracx/testing/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
),
Expand Down

0 comments on commit c32c1fc

Please sign in to comment.