Unverified Commit 04fe61aa authored by Cyrus Leung's avatar Cyrus Leung Committed by GitHub
Browse files

[CI/Build] Fix plugin tests (#21758)


Signed-off-by: default avatarDarkLight1337 <tlleungac@connect.ust.hk>
parent 25708d31
...@@ -15,13 +15,10 @@ def test_plugin( ...@@ -15,13 +15,10 @@ def test_plugin(
monkeypatch: pytest.MonkeyPatch, monkeypatch: pytest.MonkeyPatch,
dummy_opt_path: str, dummy_opt_path: str,
): ):
# V1 shuts down rather than raising an error here.
with monkeypatch.context() as m: with monkeypatch.context() as m:
m.setenv("VLLM_USE_V1", "0")
m.setenv("VLLM_PLUGINS", "") m.setenv("VLLM_PLUGINS", "")
match = "Cannot find model module" with pytest.raises(ValueError, match="are not supported for now"):
with pytest.raises(ValueError, match=match):
LLM(model=dummy_opt_path, load_format="dummy") LLM(model=dummy_opt_path, load_format="dummy")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment