DMTF / Redfish-Protocol-Validator

The Redfish Protocol Validator tests the HTTP protocol behavior of a Redfish service to validate that it conforms to the Redfish specification.
Other
14 stars 12 forks source link

Update unit tests to cover new try/except blocks #14

Closed billdodd closed 3 years ago

billdodd commented 3 years ago

In PR #13, I added several try/except blocks around operations that could get a connection error, timeout, etc.

In this PR, I updated the unit tests to test those cases and get the test coverage back up to 100%.

One of the new unit tests uncovered a small issue where one report entry referenced the wrong URI. I fixed that in this PR as well.

mraineri commented 3 years ago

Approved 3/25