Revision d9fca80b snf-astakos-app/astakos/im/tests/projects.py

b/snf-astakos-app/astakos/im/tests/projects.py
98 98
    def modify(self, app, project_id, headers):
99 99
        dump = json.dumps(app)
100 100
        kwargs = {"project_id": project_id}
101
        r = self.client.post(reverse("api_project", kwargs=kwargs), dump,
101
        r = self.client.put(reverse("api_project", kwargs=kwargs), dump,
102 102
                             content_type="application/json", **headers)
103 103
        body = json.loads(r.content)
104 104
        return r.status_code, body

Also available in: Unified diff