summaryrefslogtreecommitdiff
path: root/service/test/integration
diff options
context:
space:
mode:
authorNavaL <mnandri@thoughtworks.com>2016-01-07 15:39:34 +0100
committerNavaL <mnandri@thoughtworks.com>2016-01-11 16:56:29 +0100
commite10e43968e2a4a8ef3ef84fd7ff7e741af5e40b0 (patch)
tree1275f5e88dc13baf035fe96b94158ab3258901cb /service/test/integration
parent0e39a9a95ba273545950c5db7f92132dd8b95395 (diff)
renamed attachment_id attribute to ident on POST response, to conform with the GET attachment API
Issue #548
Diffstat (limited to 'service/test/integration')
-rw-r--r--service/test/integration/test_retrieve_attachment.py2
1 files changed, 1 insertions, 1 deletions
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)}