Skip to content

Commit 4d59147

Browse files
committed
Rename config override tests to reflect multiple-field behavior and erase unnecessary comment
1 parent 2d8a18f commit 4d59147

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/client/test_base_client.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ async def test_send_message_non_streaming_agent_capability_false(
129129

130130

131131
@pytest.mark.asyncio
132-
async def test_send_message_callsite_config_overrides_history_length_non_streaming(
132+
async def test_send_message_callsite_config_overrides_multiple_fields_non_streaming(
133133
base_client: BaseClient, mock_transport: MagicMock, sample_message: Message
134134
):
135135
base_client._config.streaming = False
@@ -139,7 +139,6 @@ async def test_send_message_callsite_config_overrides_history_length_non_streami
139139
status=TaskStatus(state=TaskState.completed),
140140
)
141141

142-
# history_length だけでなく、複数フィールドを明示的に上書き
143142
cfg = MessageSendConfiguration(
144143
history_length=2,
145144
blocking=False,
@@ -165,7 +164,7 @@ async def test_send_message_callsite_config_overrides_history_length_non_streami
165164

166165

167166
@pytest.mark.asyncio
168-
async def test_send_message_callsite_config_overrides_history_length_streaming(
167+
async def test_send_message_callsite_config_overrides_multiple_fields_streaming(
169168
base_client: BaseClient, mock_transport: MagicMock, sample_message: Message
170169
):
171170
base_client._config.streaming = True

0 commit comments

Comments
 (0)