diff --git a/tests/login/test_web.py b/tests/login/test_web.py index 78e605d25b..fe1cda2230 100644 --- a/tests/login/test_web.py +++ b/tests/login/test_web.py @@ -19,6 +19,7 @@ import pytest from fastapi import FastAPI +from fastapi_jwt_auth import AuthJWT from starlette.testclient import TestClient from antarest.core.config import Config, SecurityConfig @@ -41,7 +42,6 @@ UserInfo, ) from antarest.main import JwtSettings -from fastapi_jwt_auth import AuthJWT PARAMS = RequestParameters( user=JWTUser( diff --git a/tests/matrixstore/test_web.py b/tests/matrixstore/test_web.py index 920a832f5c..2879b07bf4 100644 --- a/tests/matrixstore/test_web.py +++ b/tests/matrixstore/test_web.py @@ -15,13 +15,13 @@ import pytest from fastapi import FastAPI +from fastapi_jwt_auth import AuthJWT from starlette.testclient import TestClient from antarest.core.config import Config, SecurityConfig from antarest.main import JwtSettings from antarest.matrixstore.main import build_matrix_service from antarest.matrixstore.model import MatrixDTO, MatrixInfoDTO -from fastapi_jwt_auth import AuthJWT from tests.login.test_web import create_auth_token