File tree Expand file tree Collapse file tree 1 file changed +0
-28
lines changed
Expand file tree Collapse file tree 1 file changed +0
-28
lines changed Original file line number Diff line number Diff line change @@ -132,19 +132,6 @@ def reset_request_ctx():
132132 pass
133133
134134
135- # Mock MCP types and structures
136- class MockURI :
137- """Mock URI object for resource testing"""
138-
139- def __init__ (self , uri_string ):
140- self .scheme = uri_string .split ("://" )[0 ] if "://" in uri_string else ""
141- self .path = uri_string .split ("://" )[1 ] if "://" in uri_string else uri_string
142- self ._uri_string = uri_string
143-
144- def __str__ (self ):
145- return self ._uri_string
146-
147-
148135class MockRequestContext :
149136 """Mock MCP request context"""
150137
@@ -180,21 +167,6 @@ def __init__(self, text):
180167 self .text = text
181168
182169
183- class MockPromptMessage :
184- """Mock PromptMessage object"""
185-
186- def __init__ (self , role , content_text ):
187- self .role = role
188- self .content = MockTextContent (content_text )
189-
190-
191- class MockGetPromptResult :
192- """Mock GetPromptResult object"""
193-
194- def __init__ (self , messages ):
195- self .messages = messages
196-
197-
198170def test_integration_patches_server (sentry_init ):
199171 """Test that MCPIntegration patches the Server class"""
200172 # Get original methods before integration
You can’t perform that action at this time.
0 commit comments