[UT][fix] Add missing get_ascend_config mock to NPUWorker initialization tests (#3729)

### What this PR does / why we need it?

Enable the unit tests that #3612 skipped.

### Does this PR introduce _any_ user-facing change?

### How was this patch tested?

Unit tests.

- vLLM main:
17c540a993

Signed-off-by: gcanlin <canlinguosdu@gmail.com>
This commit is contained in:
Canlin Guo
2025-10-25 09:33:16 +08:00
committed by GitHub
parent 7f73c28a24
commit 8295136575
2 changed files with 15 additions and 2 deletions

View File

@@ -120,8 +120,6 @@ jobs:
run: |
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/Ascend/ascend-toolkit/latest/x86_64-linux/devlib
pytest -sv --cov --cov-report=xml:unittests-coverage.xml tests/ut \
--ignore tests/ut/torchair/test_torchair_mla.py \
--ignore tests/ut/worker/test_worker_v1.py \
--ignore tests/ut/torchair/models/test_torchair_deepseek_mtp.py \
--ignore tests/ut/torchair/models/test_torchair_deepseek_v2.py \
--ignore tests/ut/test_utils.py \