forked from Juniper/py-junos-eznc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Address issue with fact gathering stopping when it encounters a probl…
…em. (Juniper#615) * Address issue with fact gathering stopping when it encounters a problem. Cleaned up the chassis related fact gathering to report "UNKNOWN" for model and serial number if it has a problem. * Updated two unit tests to do with facts gathering via console. Additional facts are now gathered since we don't stop at the first exception. The tests had to be updated to account for these additional facts being gathered. * Updating test to check for RuntimeError in chassis fact gathering. * Adding additional tests to improve coverage. *Fixed an issue where RpcError was not correctly raised for unknown model or serial number * Addressing review comments of @vnitinv * PEP8 cleanup.
- Loading branch information
1 parent
b52e6dd
commit 1ca57ae
Showing
5 changed files
with
53 additions
and
34 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
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