Eng sys/increase yumpkgmg code coverage#319
Conversation
…into EngSys/increase_yumpkgmg_code_coverage pull master changes
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #319 +/- ##
==========================================
+ Coverage 94.00% 94.09% +0.09%
==========================================
Files 107 107
Lines 19686 19725 +39
==========================================
+ Hits 18506 18561 +55
+ Misses 1180 1164 -16
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…into EngSys/increase_yumpkgmg_code_coverage pull master changes
|
@feng-j678 please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
|
|
||
| # Assert | ||
| print(str(context.exception)) | ||
| self.assertTrue("Classification-based patching is only supported on YUM if the computer is independently configured to receive classification information." in str(context.exception)) |
|
|
||
| # Assert | ||
| print(str(context.exception)) | ||
| self.assertTrue("Unexpected return code (1) on command: systemctl disable yum-cron123" in str(context.exception)) |
[x] increase code coverage