def create_large_course(store, load_factor):
 course = CourseFactory.create(modulestore=store, start=datetime(2015, 3, 1, tzinfo=UTC))
 with store.bulk_operations(course.id):
  child_count = create_children(store, course, COURSE_CHILD_STRUCTURE['course'], load_factor)
 return (course, child_count)

def create_large_course ( store , load_factor ) : course = CourseFactory . create ( modulestore = store , start = datetime ( 2015 , 3 , 1 , tzinfo = UTC ) ) with store . bulk_operations ( course . id ) : child_count = create_children ( store , course , COURSE_CHILD_STRUCTURE [ 'course' ] , load_factor ) return ( course , child_count )
create a large course .