'Sets up the course anew.'

@classmethod
def reset_course(cls):

    with cls.store.default_store(ModuleStoreEnum.Type.split):
        cls.course = CourseFactory.create()
        cls.chapter = ItemFactory.create(parent=cls.course, category='chapter', display_name='Test    Chapter')
        cls.sequence = ItemFactory.create(parent=cls.chapter, category='sequential', display_name='Test    Sequential    1', graded=True, format='Homework')
        cls.vertical = ItemFactory.create(parent=cls.sequence, category='vertical', display_name='Test    Vertical    1')
        problem_xml = MultipleChoiceResponseXMLFactory().build_xml(question_text='The    correct    answer    is    Choice    2', choices=[False, False, True, False], choice_names=['choice_0', 'choice_1', 'choice_2', 'choice_3'])
        cls.problem = ItemFactory.create(parent=cls.vertical, category='problem', display_name='p1', data=problem_xml, metadata={'weight': 2})
