def METHOD_NAME(self):
    response = self.client.get('/permission_denied')
    self.assertEqual(response.status_code, status.HTTP_403_FORBIDDEN)
    self.assertTrue(response.content in (b"403: Permission denied", b"403 Forbidden"))
    self.assertEqual(response['Content-Type'], 'text/html; charset=utf-8')