def METHOD_NAME(self, mock_command):
    """An anonymous user should not be allowed to bootstrap ES."""
    url = "/api/v1.0/bootstrap-elasticsearch/"
    response = self.client.post(url, follow=True)
    self.assertEqual(response.status_code, 401)
    self.assertFalse(mock_command.called)