Open
Description
There is a problem occuring with the validation checker. The current one:
def _check_validatation_data(self, data):
detail_key = "detail"
if detail_key in data:
return False
return True
checks only for 'detail' inside the data and this creates a problem when a custom exception handling exists or even if some response actually has the key "detail" inside.
Proposal: Validate via the response status code. If it is in the range of HTTP 2xx it's True.
Metadata
Metadata
Assignees
Labels
No labels