def METHOD_NAME(self):
    self._add_metadata()
    response = self.client.get(self.doc_url)
    self.assertEqual(response.status_code, 200)
    fileName, ext = os.path.splitext(response['Content-Disposition'])
    self.assertEqual(ext, '.png')