Skip to content

Commit bfdb899

Browse files
remove test_content_type_literal_defaults test
1 parent 9ccf80e commit bfdb899

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

tests/test_types.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,12 @@
99
CreateMessageRequestParams,
1010
CreateMessageResult,
1111
CreateMessageResultWithTools,
12-
ImageContent,
1312
Implementation,
1413
InitializeRequest,
1514
InitializeRequestParams,
1615
JSONRPCMessage,
1716
JSONRPCRequest,
1817
ListToolsResult,
19-
PromptReference,
2018
SamplingCapability,
2119
SamplingMessage,
2220
TextContent,
@@ -73,17 +71,6 @@ async def test_method_initialization():
7371
assert initialize_request.params.protocolVersion == LATEST_PROTOCOL_VERSION
7472

7573

76-
def test_content_type_literal_defaults():
77-
"""Content types should default their Literal type field.
78-
79-
This allows instantiation without explicitly passing the type discriminator,
80-
e.g., TextContent(text="hello") instead of TextContent(type="text", text="hello").
81-
"""
82-
assert TextContent(text="hello").type == "text"
83-
assert ImageContent(data="base64", mimeType="image/png").type == "image"
84-
assert PromptReference(name="test").type == "ref/prompt"
85-
86-
8774
@pytest.mark.anyio
8875
async def test_tool_use_content():
8976
"""Test ToolUseContent type for SEP-1577."""

0 commit comments

Comments
 (0)