'Setup method - create courses'

def setUp(self):

    super(TestReindexCourse, self).setUp()
    self.store = modulestore()
    self.first_lib = LibraryFactory.create(org='test', library='lib1', display_name='run1', default_store=ModuleStoreEnum.Type.split)
    self.second_lib = LibraryFactory.create(org='test', library='lib2', display_name='run2', default_store=ModuleStoreEnum.Type.split)
    self.first_course = CourseFactory.create(org='test', course='course1', display_name='run1')
    self.second_course = CourseFactory.create(org='test', course='course2', display_name='run1')
