Skip to content

Commit

Permalink
update testing
Browse files Browse the repository at this point in the history
  • Loading branch information
bhagyasharma committed Aug 30, 2024
1 parent 7171ed5 commit 90c8db9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_price_feed_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def test_error_handling_422(self, service):
response = Mock()
response.status_code = 422
response.json.return_value = {
"detail": {'msg': 'Invalid input'},
"detail": [{'msg': 'Invalid input'}],
}
with pytest.raises(RequestException, match="422 Client Error"):
service.error_handling(response)
Expand Down

0 comments on commit 90c8db9

Please sign in to comment.