'Creates the course in mongo and update it with the instructor data.
Also creates catalog course with respect to course run.
Returns:
Catalog course dict.'

def _create_course(self, course_price):

    course = ModuleStoreCourseFactory()
    course.start = (datetime.datetime.now(utc) - datetime.timedelta(days=1))
    course.end = (datetime.datetime.now(utc) + datetime.timedelta(days=1))
    course.instructor_info = self.instructors
    course = self.update_course(course, self.user.id)
    course_run = CourseRunFactory(key=unicode(course.id), seats=[SeatFactory(price=course_price)])
    return CourseFactory(course_runs=[course_run])
