fix: test_cache_json_response

This commit is contained in:
Jalil SA 2023-08-17 10:24:34 -06:00
parent 19867659f3
commit fd4292b722
1 changed files with 1 additions and 1 deletions

View File

@ -844,7 +844,7 @@ class TextResponseTest(BaseResponseTest):
with mock.patch("json.loads") as mock_json:
for _ in range(2):
json_response.json()
mock_json.assert_called_once_with(json_body.decode())
mock_json.assert_called_once_with(json_body)
class HtmlResponseTest(TextResponseTest):