Skip to content

chore(tests): remove unused PromptNotFoundError import#2614

Merged
crivetimihai merged 1 commit intoIBM:mainfrom
jonathan-fulton:fix/remove-unused-promptnotfounderror-import
Jan 31, 2026
Merged

chore(tests): remove unused PromptNotFoundError import#2614
crivetimihai merged 1 commit intoIBM:mainfrom
jonathan-fulton:fix/remove-unused-promptnotfounderror-import

Conversation

@jonathan-fulton
Copy link
Copy Markdown
Contributor

Summary

Remove unused import of PromptNotFoundError from test_authorization_access.py.

Details

The import was flagged by ruff linter (F401) as it was never used in the file:

F401 [*] `mcpgateway.services.prompt_service.PromptNotFoundError` imported but unused

Changes

  • Removed unused PromptNotFoundError from the import statement in tests/unit/mcpgateway/services/test_authorization_access.py

Testing

This is a minor cleanup with no functional impact. The import was never used in the test file.

Fixes #2382

@jonathan-fulton jonathan-fulton force-pushed the fix/remove-unused-promptnotfounderror-import branch from 495a3f7 to c6a853c Compare January 31, 2026 18:38
@crivetimihai crivetimihai self-assigned this Jan 31, 2026
@crivetimihai crivetimihai added this to the Release 1.0.0-RC1 milestone Jan 31, 2026
@crivetimihai
Copy link
Copy Markdown
Member

Thanks @jonathan-fulton! Clean linter fix - confirmed PromptNotFoundError isn't used anywhere in this file. I'll start working on merging and rebasing this along with your other PRs.

Remove unused import of PromptNotFoundError from test_authorization_access.py.
The import was flagged by ruff linter (F401) as it was never used in the file.

Fixes IBM#2382

Signed-off-by: Jonathan Fulton <jonathan@jonathanfulton.com>
@crivetimihai crivetimihai force-pushed the fix/remove-unused-promptnotfounderror-import branch from c6a853c to 114c75f Compare January 31, 2026 20:00
@crivetimihai crivetimihai merged commit 1bc85fe into IBM:main Jan 31, 2026
35 checks passed
hughhennelly pushed a commit to hughhennelly/mcp-context-forge that referenced this pull request Feb 8, 2026
Remove unused import of PromptNotFoundError from test_authorization_access.py.
The import was flagged by ruff linter (F401) as it was never used in the file.

Fixes IBM#2382

Signed-off-by: Jonathan Fulton <jonathan@jonathanfulton.com>
Signed-off-by: hughhennnelly <hughhennelly06@gmail.com>
kcostell06 pushed a commit to kcostell06/mcp-context-forge that referenced this pull request Feb 24, 2026
Remove unused import of PromptNotFoundError from test_authorization_access.py.
The import was flagged by ruff linter (F401) as it was never used in the file.

Fixes IBM#2382

Signed-off-by: Jonathan Fulton <jonathan@jonathanfulton.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CHORE][TESTS]: Remove unused PromptNotFoundError import

2 participants