Closed hanhsuan closed 2 weeks ago
Attention: Patch coverage is 92.39130%
with 7 lines
in your changes missing coverage. Please review.
Project coverage is 44.99%. Comparing base (
d62c028
) to head (e3d0989
). Report is 100 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
providers/base/bin/prime_offload_tester.py | 92.39% | 6 Missing and 1 partial :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@fernando79513 There is no failure and error related to my code when I run the test locally, but the github action couldn't pass. Should I rebase my branch or something else I have to do? thanks.
It was not an issue of rebasing, you were patching sys.modules for all the tests:
sys.modules["checkbox_support"] = MagicMock()
sys.modules["checkbox_support.helpers.timeout"] = MagicMock()
There was no need to do so. Also now, there is a @mock_timeout
function.
Thanks a lot. I'll add more unit test coverage to make it pass codecov.
Description
While testing without pci id, user couldn't know the process is running on which renderer. Therefore, this change is going to:
The jobs.pxu and test-plan.pxu will be in another PR, and the draft jobs and test-plan that use this new function as below:
Resolved issues
Documentation
Tests
Unit test and laptop: auto, manual desktop: auto, manual