Open tuky opened 2 weeks ago
Look at https://3.python-requests.org/user/quickstart/ to see, that this method actually return the response in case of no error for easy method chaining:
The mocked response however always return None breaking the code during testing.
None
No response
responses
0.25.3
response.raise_for_status().json()
the mocked response
Describe the bug
Look at https://3.python-requests.org/user/quickstart/ to see, that this method actually return the response in case of no error for easy method chaining:
The mocked response however always return
None
breaking the code during testing.Additional context
No response
Version of
responses
0.25.3
Steps to Reproduce
Expected Result
the mocked response
Actual Result
None