class Test_ClassSummaryExclude(unittest.TestCase): """Test Class Summary class. """ def setUp(self): """ setting initial paramater Args: data: test file name split_module: setting the split_module instance """ wn_summary_list = APP_ROOT + '/../../Data/wn_total_summary_list.txt' self.input_module = InputFileCython(wn_summary_list) self.input_module.input_special_format_file() self.class_summary_exclude = ClassSummaryExcludeCython() def test_summary_class(self): """ test make summary dict """ file_list = self.input_module.get_file_data() OUT_PUT_PATH = APP_ROOT + "/../../Data/wn_total_summary_51519_limit05_out_put/" for file in file_list: self.input_module = InputFileCython(APP_ROOT + "/../../Data/wn_total_summary_51519_limit05/" + file.strip()) self.input_module.input_special_format_file() self.class_summary_exclude.exclude_data(OUT_PUT_PATH, file.strip(), self.input_module.get_file_data())
class Test_ClassSummaryExclude(unittest.TestCase): """Test Class Summary class. """ def setUp(self): """ setting initial paramater Args: data: test file name split_module: setting the split_module instance """ wn_summary_list = APP_ROOT + '/../../Data/wn_total_summary_list.txt' self.input_module = InputFileCython(wn_summary_list) self.input_module.input_special_format_file() self.class_summary_exclude = ClassSummaryExcludeCython() def test_summary_class(self): """ test make summary dict """ file_list = self.input_module.get_file_data() OUT_PUT_PATH = APP_ROOT + "/../../Data/wn_total_summary_51519_limit05_out_put/" for file in file_list: self.input_module = InputFileCython( APP_ROOT + "/../../Data/wn_total_summary_51519_limit05/" + file.strip()) self.input_module.input_special_format_file() self.class_summary_exclude.exclude_data( OUT_PUT_PATH, file.strip(), self.input_module.get_file_data())
def setUp(self): """ setting initial paramater Args: data: test file name split_module: setting the split_module instance """ wn_summary_list = APP_ROOT + '/../../Data/wn_total_summary_list.txt' self.input_module = InputFileCython(wn_summary_list) self.input_module.input_special_format_file() self.class_summary_exclude = ClassSummaryExcludeCython()