Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Commit

Permalink
Try to fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilieDel committed Aug 29, 2024
1 parent b0440f5 commit 0f78b3e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/app/test_middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from unittest.mock import AsyncMock, PropertyMock, patch

import pytest
from fastapi import HTTPException
from fastapi.requests import Request
from fastapi.responses import Response
from scholarag.app.config import Settings
Expand All @@ -16,7 +15,6 @@
strip_path_prefix,
)
from starlette.datastructures import MutableHeaders
from starlette.status import HTTP_401_UNAUTHORIZED
from starlette.types import Message

from app.dependencies_overrides import override_ds_client_with_redis, override_rts
Expand Down Expand Up @@ -555,4 +553,3 @@ def test_request_id(app_client):
response = app_client.get("/retrieval/article_listing")
assert isinstance(response.headers["x-request-id"], str)
assert len(response.headers["x-request-id"]) == 32

0 comments on commit 0f78b3e

Please sign in to comment.