mirror of
https://github.com/vllm-project/vllm.git
synced 2025-10-20 14:53:52 +08:00
[CI/Build] Fix plugin tests (#21758)
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
@ -15,13 +15,10 @@ def test_plugin(
|
||||
monkeypatch: pytest.MonkeyPatch,
|
||||
dummy_opt_path: str,
|
||||
):
|
||||
# V1 shuts down rather than raising an error here.
|
||||
with monkeypatch.context() as m:
|
||||
m.setenv("VLLM_USE_V1", "0")
|
||||
m.setenv("VLLM_PLUGINS", "")
|
||||
|
||||
match = "Cannot find model module"
|
||||
with pytest.raises(ValueError, match=match):
|
||||
with pytest.raises(ValueError, match="are not supported for now"):
|
||||
LLM(model=dummy_opt_path, load_format="dummy")
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user