From e10e43968e2a4a8ef3ef84fd7ff7e741af5e40b0 Mon Sep 17 00:00:00 2001 From: NavaL Date: Thu, 7 Jan 2016 15:39:34 +0100 Subject: renamed attachment_id attribute to ident on POST response, to conform with the GET attachment API Issue #548 --- service/test/integration/test_retrieve_attachment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'service/test/integration') diff --git a/service/test/integration/test_retrieve_attachment.py b/service/test/integration/test_retrieve_attachment.py index 0998e688..acb23409 100644 --- a/service/test/integration/test_retrieve_attachment.py +++ b/service/test/integration/test_retrieve_attachment.py @@ -67,7 +67,7 @@ class RetrieveAttachmentTest(SoledadTestBase): self.assertEqual(201, req.code) self.assertEqual('/attachment/B5B4ED80AC3B894523D72E375DACAA2FC6606C18EDF680FE95903086C8B5E14A', req.headers['Location']) - response_json = {'attachment_id': 'B5B4ED80AC3B894523D72E375DACAA2FC6606C18EDF680FE95903086C8B5E14A', + response_json = {'ident': 'B5B4ED80AC3B894523D72E375DACAA2FC6606C18EDF680FE95903086C8B5E14A', 'content-type': content_type, 'filename': filename, 'filesize': len(data)} -- cgit v1.2.3