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
04fe61aa
Unverified
Commit
04fe61aa
authored
Jul 28, 2025
by
Cyrus Leung
Committed by
GitHub
Jul 28, 2025
Browse files
[CI/Build] Fix plugin tests (#21758)
Signed-off-by:
DarkLight1337
<
tlleungac@connect.ust.hk
>
parent
25708d31
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
tests/models/test_oot_registration.py
tests/models/test_oot_registration.py
+1
-4
No files found.
tests/models/test_oot_registration.py
View file @
04fe61aa
...
@@ -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"
)
...
...
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