Skip to content

Commit

Permalink
Assertion errors of endpoint responses test now returns details of th…
Browse files Browse the repository at this point in the history
…e error
  • Loading branch information
dmezzogori committed Jun 8, 2023
1 parent 9a8eacd commit 9acf20c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kwik/tests/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


def assert_status_code_and_return_response(response: Response, status_code: int = 200) -> EndpointReturn:
assert response.status_code == status_code
assert response.status_code == status_code, response.text
return response.json()


Expand Down

0 comments on commit 9acf20c

Please sign in to comment.