Searched refs:RedfishHttpStatus (Results 1 – 2 of 2) sorted by relevance
/openbmc/telemetry/redfish-tests/ |
H A D | test_telemetry.py | 4 from redfish_requests import Duration, RedfishHttpStatus 34 code=RedfishHttpStatus.not_found, 47 code=RedfishHttpStatus.not_found, 60 code=RedfishHttpStatus.not_found, 68 code=RedfishHttpStatus.bad_request, 76 code=RedfishHttpStatus.bad_request, 83 code=RedfishHttpStatus.not_found, 108 code=RedfishHttpStatus.bad_request, 159 invalid_id, code=RedfishHttpStatus.bad_request 186 "Test", metrics=[metric], code=RedfishHttpStatus.bad_request [all …]
|
H A D | redfish_requests.py | 8 class RedfishHttpStatus(enum.IntEnum): class 30 def get(self, path, code=RedfishHttpStatus.ok): 39 def post(self, path, body, code=RedfishHttpStatus.created): 50 def delete(self, path, code=RedfishHttpStatus.no_content): 89 code=RedfishHttpStatus.created,
|