Skip to content

Commit 2e48de3

Browse files
- Fixing tests
1 parent fc9964c commit 2e48de3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/utils/api_encryption_test_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ def request(self, method, url, query_params=None, headers=None,
105105
response.getheaders = mock_headers
106106

107107
if method in ["GET", "POST", "PUT"]:
108-
response.data = json_resp
108+
response.response.data = json_resp
109109
else:
110-
response.data = "OK" if check == 0 else "KO"
110+
response.response.data = "OK" if check == 0 else "KO"
111111

112112
return response
113113

0 commit comments

Comments
 (0)