def setUp(self): self.evaluation_parser = EvaluationParser(log = None) self.course_27002_evaluation_page = os.path.join(data_dir(), '27002_evaluation.html') self.evaluation_did_not_follow_missing = os.path.join(data_dir(), 'Evaluation_no_dnf.html') self.evaluation_3_week_course_jan = os.path.join(data_dir(), 'Evaluation_jan.html') self.evaluation_two_text_nodes = os.path.join(data_dir(), 'Evaluation_old_questions.html') self.evaluation_3_week_course_jun = os.path.join(data_dir(), 'Evaluation_jun.html')
def setUp(self): self.course_run_parser = CourseRunParser(log = CourseSpider().log) self.course_27002_course_run_page = os.path.join(data_dir(), '27002_course_run_summer_2010.html') self.course_run_two_scales = os.path.join(data_dir(), 'Course_run_two_scales.html') self.not_enough_grades = os.path.join(data_dir(), 'Course_run_not_enough_grades.html') self.missing_passed = os.path.join(data_dir(), 'Course_run_missing_passed.html') self.mixed_scales = os.path.join(data_dir(), 'Course_run_mixed_scales.html') self.not_shown = os.path.join(data_dir(), 'Course_run_not_shown.html')
def setUp(self): self.spider = CourseSpiderNew() self.department_list_page = os.path.join(data_dir(), 'DTU_Coursebase.html') self.department_27_page = os.path.join(data_dir(), 'Department27.html') self.course_27002_page = os.path.join(data_dir(), '27002.html') self.course_27002_info_page = os.path.join(data_dir(), '27002_information.html') self.course_27002_course_run_page = os.path.join(data_dir(), '27002_course_run_summer_2010.html') self.course_27002_evaluation_page = os.path.join(data_dir(), '27002_evaluation.html')