From e90d0ea0bea8e62b4fe1f7170f8fabdcff0041d9 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 9 Aug 2024 16:02:06 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- diracx-testing/src/diracx/testing/__init__.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/diracx-testing/src/diracx/testing/__init__.py b/diracx-testing/src/diracx/testing/__init__.py index 9779cafa..90b0498b 100644 --- a/diracx-testing/src/diracx/testing/__init__.py +++ b/diracx-testing/src/diracx/testing/__init__.py @@ -144,8 +144,8 @@ def __init__( from diracx.core.config import ConfigSource from diracx.core.extensions import select_from_extension from diracx.core.settings import ServiceSettingsBase - from diracx.db.sql.utils import BaseSQLDB from diracx.db.os.utils import BaseOSDB + from diracx.db.sql.utils import BaseSQLDB from diracx.routers import create_app_inner from diracx.routers.access_policies import BaseAccessPolicy @@ -200,7 +200,13 @@ def enrich_tokens(access_payload: dict, refresh_payload: dict): for obj in self.all_dependency_overrides: assert issubclass( obj.__self__, - (ServiceSettingsBase, BaseSQLDB, BaseOSDB, ConfigSource, BaseAccessPolicy), + ( + ServiceSettingsBase, + BaseSQLDB, + BaseOSDB, + ConfigSource, + BaseAccessPolicy, + ), ), obj self.all_lifetime_functions = self.app.lifetime_functions[:]