def test_label_table_valid_3(self): A = read_csv_metadata(path_a) B = read_csv_metadata(path_b, key='ID') C = read_csv_metadata(path_c, ltable=A, rtable=B) D = label_table(C, 'label') p1, p2 = cm.get_all_properties(C), cm.get_all_properties(D) self.assertEqual(p1, p2)
def test_label_table_invalid_colname(self): A = read_csv_metadata(path_a) B = read_csv_metadata(path_b, key='ID') C = read_csv_metadata(path_c, ltable=A, rtable=B) col_name = 'label' label_table(C, None)