Open
Description
When targeting GET on a URI if its not found / internal server error results in exception HTTPError
, I can use the expected_status
to override it however, it would be great if that accepts multiple values
expected_status=400,500,200
Other use cases like where example,
GET On Session /xyz/somepath/uri expected_status=xxx
it would raise the HTTPError
if expected_status is not used and errors out
if the expected state mismatched, it raise exception as well
Url: https://xx.xx.xx.xx:443/xyz/openbmc_project/dump/ Expected status: 200 != 404
we would love to have the response than handle the exception in robot caller test code/scripts.