[CI]【Hackathon 9th Sprint No.50】NO.50 功能模块 fastdeploy/entrypoints/engine_client.py 单测补充 -part by essos-bot · Pull Request #5045 · PaddlePaddle/FastDeploy (original) (raw)

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation10 Commits7 Checks16 Files changed

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

@essos-bot

Motivation

NO.50 功能模块 fastdeploy/entrypoints/engine_client.py 单测补充

Modifications

NO.50 功能模块 fastdeploy/entrypoints/engine_client.py 单测补充

Usage or Command

no need

Accuracy Tests

no

Checklist

@paddle-bot

Thanks for your contribution!

@CSWYF3634076

感谢贡献~
可以进一步简化代码,简单参考原来的test_engine_client.py文件

essos-bot added a commit to essos-bot/FastDeploy that referenced this pull request

Nov 18, 2025

@essos-bot @claude

… PR PaddlePaddle#5045

🤖 Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com

@essos-bot

CSWYF3634076

# Determine import method based on environment
TEST_MODE = os.environ.get("FD_TEST_MODE", "normal")
if TEST_MODE == "standalone":

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可以无需这样写,增加复杂度

@codecov-commenter

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (develop@cb56d46). Learn more about missing BASE report.

Additional details and impacted files

@@ Coverage Diff @@ ## develop #5045 +/- ##

Coverage ? 60.48%

Files ? 317
Lines ? 38778
Branches ? 5844

Hits ? 23456
Misses ? 13479
Partials ? 1843

Flag Coverage Δ
GPU 60.48% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:

@essos-bot

@essos-bot

@essos-bot

@essos-bot @claude

🤖 Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com

@essos-bot @claude

… PR PaddlePaddle#5045

🤖 Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com

@essos-bot

@essos-bot

@essos-bot

@essos-bot

@CSWYF3634076

CSWYF3634076

@EmmonsCurse

@essos-bot 目前 这个单测的修改与 #5185 在合入后的改动有了冲突,造成 tests/entrypoints/test_engine_client.py 这个单测会稳定报错,目前是紧急做了单测下线 #5272

辛苦后续修改后再提交时注意一并将 tests/cov_pytest.ini 中的 --ignore=tests/entrypoints/test_engine_client.py 删除,否则无法正常执行~

@luotao1 luotao1 changed the title[CI]【Hackathon 9th Sprint No.50】NO.50 功能模块 fastdeploy/entrypoints/engine_client.py 单测补充 [CI]【Hackathon 9th Sprint No.50】NO.50 功能模块 fastdeploy/entrypoints/engine_client.py 单测补充 -part

Nov 27, 2025

@essos-bot

@essos-bot 目前 这个单测的修改与 #5185 在合入后的改动有了冲突,造成 tests/entrypoints/test_engine_client.py 这个单测会稳定报错,目前是紧急做了单测下线 #5272

辛苦后续修改后再提交时注意一并将 tests/cov_pytest.ini 中的 --ignore=tests/entrypoints/test_engine_client.py 删除,否则无法正常执行~

好的,周末来修一下

Labels