|
@@ -652,7 +652,8 @@ class EditReplyEditorApiTests(EditorApiTestCase):
|
|
|
})
|
|
|
response = self.client.get(self.api_link)
|
|
|
|
|
|
- list(map(lambda a: add_acl(self.user, a), attachments))
|
|
|
+ for attachment in attachments:
|
|
|
+ add_acl(self.user, attachment)
|
|
|
|
|
|
self.assertEqual(response.status_code, 200)
|
|
|
self.assertEqual(json.loads(smart_str(response.content)), {
|