'create instructor user.'

def make_instructor(self):

    instructor = UserFactory.create(password='test')
    role = CourseInstructorRole(self.course.id)
    role.add_users(instructor)
    return instructor
