From c9b578168ca140e07cce4bec21475eaafb44f813 Mon Sep 17 00:00:00 2001 From: pqlMC Date: Thu, 20 Jun 2019 15:35:02 +0100 Subject: [PATCH] test refactoring --- tests/utils/api_encryption_test_utils.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/utils/api_encryption_test_utils.py b/tests/utils/api_encryption_test_utils.py index 5a7599b..42c6807 100644 --- a/tests/utils/api_encryption_test_utils.py +++ b/tests/utils/api_encryption_test_utils.py @@ -102,7 +102,6 @@ def call_api(self, resource_path, method, if method in ["GET", "POST", "PUT"]: response.data = json_resp - response.json = Mock(return_value=json_resp) else: response.data = "OK" if check == 0 else "KO"