Skip to content

[CI]【Hackathon 10th Spring No.33】功能模块 fastdeploy/config.py单测补充#6389

Open
fgeygfe wants to merge 1 commit intoPaddlePaddle:developfrom
fgeygfe:feature/add-unit-fastdeploy-config-test
Open

[CI]【Hackathon 10th Spring No.33】功能模块 fastdeploy/config.py单测补充#6389
fgeygfe wants to merge 1 commit intoPaddlePaddle:developfrom
fgeygfe:feature/add-unit-fastdeploy-config-test

Conversation

@fgeygfe
Copy link

@fgeygfe fgeygfe commented Feb 7, 2026

Motivation

NO.33 功能模块 fastdeploy/config.py 单测补充

Modifications

add unittest tests\utils\test_config.py

develop 分支:覆盖率83%,Miss行数149(126, 149-150, 160, 275, 278, 307-309, 313-314, 343-344, 348-351, 353->356, 362, 375-376, 386->exit, 396, 414-422, 438, 442->435, 445, 459, 471, 528-535, 545->551, 564, 569, 576->575, 589, 694-696, 782, 786, 794-797, 803->exit, 825-828, 834-853, 873, 1030-1033, 1051->1057, 1057->1061, 1174->1178, 1178->1181, 1181->exit, 1192, 1196, 1282, 1323-1326, 1414, 1418-1419, 1421-1422, 1441, 1451, 1453, 1555->1557, 1571-1574, 1581-1584, 1700, 1751, 1761-1763, 1777, 1779, 1791-1792, 1810-1811, 1816-1825, 1827->1830, 1833, 1841-1852, 1865-1871, 1887-1888, 1895-1896, 1909-1916, 1920, 2009-2012, 2031-2041, 2045->2049, 2050->2055, 2061-2064, 2076-2077, 2085->2074, 2148-2155)
image

当前PR:覆盖率,Miss行数

完成单测覆盖行数

Usage or Command

no need

Accuracy Tests

no need

Checklist

  • Add at least a tag in the PR title.
    • Tag list: [[FDConfig],[APIServer],[Engine], [Scheduler], [PD Disaggregation], [Executor], [Graph Optimization], [Speculative Decoding], [RL], [Models], [Quantization], [Loader], [OP], [KVCache], [DataProcessor], [BugFix], [Docs], [CI], [Optimization], [Feature], [Benchmark], [Others], [XPU], [HPU], [GCU], [DCU], [Iluvatar], [Metax]]
    • You can add new tags based on the PR content, but the semantics must be clear.
  • Format your code, run pre-commit before commit.
  • Add unit tests. Please write the reason in this PR if no unit tests.
  • Provide accuracy results.
  • If the current PR is submitting to the release branch, make sure the PR has been submitted to the develop branch, then cherry-pick it to the release branch with the [Cherry-Pick] PR tag.

@paddle-bot
Copy link

paddle-bot bot commented Feb 7, 2026

Thanks for your contribution!

@paddle-bot paddle-bot bot added the contributor External developers label Feb 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant