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
b2c50eda
Unverified
Commit
b2c50eda
authored
Nov 29, 2025
by
Cyrus Leung
Committed by
GitHub
Nov 29, 2025
Browse files
[Bugfix] Fix wrong mock attribute (#29704)
Signed-off-by:
DarkLight1337
<
tlleungac@connect.ust.hk
>
parent
1dcafb3d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/entrypoints/openai/test_serving_chat.py
tests/entrypoints/openai/test_serving_chat.py
+1
-1
No files found.
tests/entrypoints/openai/test_serving_chat.py
View file @
b2c50eda
...
@@ -399,7 +399,7 @@ def _build_serving_chat(engine: AsyncLLM) -> OpenAIServingChat:
...
@@ -399,7 +399,7 @@ def _build_serving_chat(engine: AsyncLLM) -> OpenAIServingChat:
@
dataclass
@
dataclass
class
MockEngine
:
class
MockEngine
:
model_config
:
MockModelConfig
=
field
(
default_factory
=
MockModelConfig
)
model_config
:
MockModelConfig
=
field
(
default_factory
=
MockModelConfig
)
processor
:
MagicMock
=
field
(
default_factory
=
MagicMock
)
input_
processor
:
MagicMock
=
field
(
default_factory
=
MagicMock
)
io_processor
:
MagicMock
=
field
(
default_factory
=
MagicMock
)
io_processor
:
MagicMock
=
field
(
default_factory
=
MagicMock
)
...
...
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