'Call the `course_detail` api endpoint to get information on the course
identified by `course_key`.'

def _make_api_call(self, requesting_user, target_user, course_key):

    request = Request(self.request_factory.get('/'))
    request.user = requesting_user
    with check_mongo_calls(0):
        return course_detail(request, target_user.username, course_key)
