'Create courses in modulestore.'

def setUp(self):

    super(TestGenerateCourseBlocks, self).setUp()
    self.courses = [CourseFactory.create() for _ in range(self.num_courses)]
    self.course_keys = [course.id for course in self.courses]
    self.command = generate_course_blocks.Command()
