-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pr1/increase_RebootManager_and_PatchAssessor_code coverage (#267)
* add ut for add_error_to_status * add test_start_reboot() * add logic to rset sys.stdout and add dummy test in rebootmanager.py * modify start_reboot for testing * use import six, StringIO works in py2 py3 * add ut for start_reboot raise exception * create a new method to preserve start_reboot * restore the sys.__stdout * revert import to use io instead of six * add ut for rebootifrequired * test stringIO import * restore configurepatchingprocessor and maintenancewindow tests as master * refactor the test assessor throws exception
- Loading branch information
Showing
4 changed files
with
47 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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