File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -47,9 +47,6 @@ class TestMiddlewareParameterPreprocessing:
4747 def test_middleware_converts_stringified_json_params (self ):
4848 """Test that middleware converts JSON strings to dicts."""
4949 import asyncio
50- import os
51-
52- from fastmcp .server .middleware import MiddlewareContext
5350
5451 from gg_api_core .mcp_server import GitGuardianPATEnvMCP
5552
@@ -77,8 +74,6 @@ def test_middleware_preserves_dict_params(self):
7774 """Test that middleware doesn't modify already-valid dict params."""
7875 import asyncio
7976
80- from fastmcp .server .middleware import MiddlewareContext
81-
8277 from gg_api_core .mcp_server import GitGuardianPATEnvMCP
8378
8479 mcp = GitGuardianPATEnvMCP ("test" , personal_access_token = "test_token" )
@@ -146,5 +141,3 @@ async def mock_call_next(ctx):
146141 # Run the middleware
147142 result = asyncio .run (mcp ._parameter_preprocessing_middleware (context , mock_call_next ))
148143 assert result == "success"
149-
150-
You can’t perform that action at this time.
0 commit comments