Skip to content

Commit b2c50ed

Browse files
[Bugfix] Fix wrong mock attribute (#29704)
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
1 parent 1dcafb3 commit b2c50ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/entrypoints/openai/test_serving_chat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ async def _fake_process_inputs(
399399
@dataclass
400400
class MockEngine:
401401
model_config: MockModelConfig = field(default_factory=MockModelConfig)
402-
processor: MagicMock = field(default_factory=MagicMock)
402+
input_processor: MagicMock = field(default_factory=MagicMock)
403403
io_processor: MagicMock = field(default_factory=MagicMock)
404404

405405

0 commit comments

Comments
 (0)