[Test]Add unit test for worker_v1.py (#2547)
### What this PR does / why we need it? According to issue https://github.com/vllm-project/vllm-ascend/issues/1298 ,this pull request adds unit test code for platform.py. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? CI passed with new added/existing test. - vLLM version: v0.10.1.1 - vLLM main: https://github.com/vllm-project/vllm/commit/b5d34af3286ee0334d9f7bd729774ac55c5805e9 --------- Signed-off-by: zhanghaiwen <zhanghaiwen@cmss.chinamobile.com> Co-authored-by: zhanghaiwen <zhanghaiwen@cmss.chinamobile.com>
This commit is contained in:
1 parent
a6bb502e70
commit
8151a9d5a4
1 file changed
+1141
-1