Skip to content

Conversation

@feng-j678
Copy link
Contributor

@feng-j678 feng-j678 commented Sep 24, 2024

[x] add ut to RebootManager.py
[x] add ut test_raise_add_error_to_status in PatchAssessor.py
image

@codecov
Copy link

codecov bot commented Sep 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.98%. Comparing base (c49a676) to head (362551d).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #267      +/-   ##
==========================================
+ Coverage   91.84%   91.98%   +0.13%     
==========================================
  Files          90       90              
  Lines       15596    15624      +28     
==========================================
+ Hits        14324    14371      +47     
+ Misses       1272     1253      -19     
Flag Coverage Δ
python27 91.98% <100.00%> (+0.13%) ⬆️
python39 91.98% <100.00%> (+0.13%) ⬆️

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.

@feng-j678 feng-j678 changed the title Pr1/increase code coverage Pr1/increase_reboot_manager_code coverage Sep 26, 2024
@feng-j678 feng-j678 marked this pull request as ready for review September 30, 2024 16:50
…into pr1/increase_code_coverage

pull master changes.
Copy link
Contributor

@rane-rajasi rane-rajasi left a comment

Choose a reason for hiding this comment

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

PR has multiple independent changes in it. We have discussed about not adding changes unrelated to the main goal of a PR in it. PR title mentions increasing reboot manager coverage, but this also has stringIO bug fix and a test case for error handling in status file. This goes against what we've discussed earlier. Please split these out in to their own individual changes

@feng-j678 feng-j678 changed the title Pr1/increase_reboot_manager_code coverage Pr1/increase_RebootManager_and_PatchAssessor_code coverage Oct 23, 2024
Copy link
Contributor

@rane-rajasi rane-rajasi left a comment

Choose a reason for hiding this comment

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

Comments inline

@kjohn-msft kjohn-msft merged commit e89747a into master Nov 7, 2024
7 checks passed
@kjohn-msft kjohn-msft deleted the pr1/increase_code_coverage branch November 7, 2024 00:59
@feng-j678 feng-j678 mentioned this pull request Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants