Flask's RequestWrapper changed the json() function to a json property

This commit is contained in:
2018-08-29 14:00:57 +02:00
parent bbf21f614d
commit 3dd3006452
3 changed files with 13 additions and 13 deletions

View File

@@ -27,7 +27,7 @@ class TaskWorkflowTest(AbstractAttractTest):
url = '/api/projects/%s' % self.project_id
resp = self.get(url)
proj = resp.json()
proj = resp.json
put_proj = pillar.api.utils.remove_private_keys(proj)