def METHOD_NAME(self):
    """attachments list returns 200 and renders all attachments"""
    final_link = self.client.get(self.admin_link)["location"]
    response = self.client.get(final_link)
    self.assertEqual(response.status_code, 200)
    attachments = [
        self.mock_attachment(self.post, file="somefile.pdf"),
        self.mock_attachment(image="someimage.jpg"),
        self.mock_attachment(
            self.post, image="somelargeimage.png", thumbnail="somethumb.png"
        ),
    ]
    response = self.client.get(final_link)
    self.assertEqual(response.status_code, 200)
    for attachment in attachments:
        delete_link = reverse(
            "misago:admin:attachments:delete", kwargs={"pk": attachment.pk}
        )
        self.assertContains(response, attachment.filename)
        self.assertContains(response, delete_link)
        self.assertContains(response, attachment.get_absolute_url())
        self.assertContains(response, attachment.uploader.username)
        self.assertContains(response, attachment.uploader.get_absolute_url())
        if attachment.thumbnail:
            self.assertContains(response, attachment.get_thumbnail_url())