Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
ab97bcf6
Unverified
Commit
ab97bcf6
authored
Feb 10, 2026
by
Cyrus Leung
Committed by
GitHub
Feb 10, 2026
Browse files
[CI/Build] Relax `test_mcp_tool_call` (#34204)
Signed-off-by:
DarkLight1337
<
tlleungac@connect.ust.hk
>
parent
25e48a3a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tests/entrypoints/openai/responses/test_parsable_context.py
tests/entrypoints/openai/responses/test_parsable_context.py
+3
-3
No files found.
tests/entrypoints/openai/responses/test_parsable_context.py
View file @
ab97bcf6
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
import
importlib
import
importlib
.util
import
json
import
json
import
pytest
import
pytest
...
@@ -179,12 +179,12 @@ async def test_mcp_tool_call(client: OpenAI, model_name: str):
...
@@ -179,12 +179,12 @@ async def test_mcp_tool_call(client: OpenAI, model_name: str):
assert
response
.
output
[
2
].
type
==
"reasoning"
assert
response
.
output
[
2
].
type
==
"reasoning"
# make sure the correct math is in the final output
# make sure the correct math is in the final output
assert
response
.
output
[
3
].
type
==
"message"
assert
response
.
output
[
3
].
type
==
"message"
assert
"56088"
in
response
.
output
[
3
].
content
[
0
].
text
assert
any
(
s
in
response
.
output
[
3
].
content
[
0
].
text
for
s
in
(
"56088"
,
"56,088"
))
# test raw input_messages / output_messages
# test raw input_messages / output_messages
assert
len
(
response
.
input_messages
)
==
1
assert
len
(
response
.
input_messages
)
==
1
assert
len
(
response
.
output_messages
)
==
3
assert
len
(
response
.
output_messages
)
==
3
assert
"56088"
in
response
.
output_messages
[
2
][
"message"
]
assert
any
(
s
in
response
.
output_messages
[
2
][
"message"
]
for
s
in
(
"56088"
,
"56,088"
))
@
pytest
.
mark
.
asyncio
@
pytest
.
mark
.
asyncio
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment