def METHOD_NAME(self, mock_end_request):
    """An anonymous should not be able to end a classroom."""
    classroom = ClassroomFactory()
    response = self.client.patch(
        f"/api/classrooms/{classroom.id}/end/",
    )
    self.assertEqual(response.status_code, 401)
    mock_end_request.assert_not_called()