'Return the course details page as either global or non-global staff'

def _get_course_details_response(self, global_staff):

    user = UserFactory(is_staff=global_staff)
    CourseInstructorRole(self.course.id).add_users(user)
    self.client.login(username=user.username, password='test')
    return self.client.get_html(self.course_details_url)
