-
Notifications
You must be signed in to change notification settings - Fork 615
[CHORE][TESTS]: Remove unused PromptNotFoundError import #2382
Copy link
Copy link
Labels
COULDP3: Nice-to-have features with minimal impact if left out; included if time permitsP3: Nice-to-have features with minimal impact if left out; included if time permitschoreLinting, formatting, dependency hygiene, or project maintenance choresLinting, formatting, dependency hygiene, or project maintenance choresgood first issueGood for newcomersGood for newcomerspythonPython / backend development (FastAPI)Python / backend development (FastAPI)
Milestone
Description
Description
The file tests/unit/mcpgateway/services/test_authorization_access.py imports PromptNotFoundError but never uses it.
File: tests/unit/mcpgateway/services/test_authorization_access.py
Line 26:
from mcpgateway.services.prompt_service import PromptNotFoundError, PromptServiceSuggested Fix
Remove the unused import:
from mcpgateway.services.prompt_service import PromptServiceDetection
Found by ruff linter (F401):
F401 [*] `mcpgateway.services.prompt_service.PromptNotFoundError` imported but unused
Notes
This is a minor cleanup task with no functional impact.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
COULDP3: Nice-to-have features with minimal impact if left out; included if time permitsP3: Nice-to-have features with minimal impact if left out; included if time permitschoreLinting, formatting, dependency hygiene, or project maintenance choresLinting, formatting, dependency hygiene, or project maintenance choresgood first issueGood for newcomersGood for newcomerspythonPython / backend development (FastAPI)Python / backend development (FastAPI)