Skip to content

Commit dcdc145

Browse files
authored
[CI] Reorganize scoring tests (vllm-project#38207)
Signed-off-by: wang.yuqi <yuqi.wang@daocloud.io>
1 parent f2d1620 commit dcdc145

20 files changed

+1595
-975
lines changed

tests/entrypoints/pooling/basic/test_truncation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ async def test_bigger_truncation_size(client: openai.AsyncOpenAI):
8585
expected_message = (
8686
"truncate_prompt_tokens value is "
8787
"greater than max_model_len."
88-
" Please, select a smaller truncation size."
88+
" Please request a smaller truncation size."
8989
)
9090
assert error_details["message"] == expected_message
9191

tests/entrypoints/pooling/embed/test_online.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ async def test_truncate_prompt_tokens(client: openai.AsyncOpenAI, model_name: st
288288
assert "error" in response.object
289289
assert (
290290
"truncate_prompt_tokens value is greater than max_model_len. "
291-
"Please, select a smaller truncation size." in response.message
291+
"Please request a smaller truncation size." in response.message
292292
)
293293

294294

tests/entrypoints/pooling/score/test_offline.py

Lines changed: 0 additions & 69 deletions
This file was deleted.

tests/entrypoints/pooling/score/test_online_colbert.py

Lines changed: 0 additions & 142 deletions
This file was deleted.

0 commit comments

Comments
 (0)