def test_sets_equal_input_as_set(self): unique_lfns = get_unique_lfns(set(self.lfns_with_duplicates)) self.assertSetEqual(unique_lfns, self.unique_lfns)
def test_sets_equal_underscore_in_file_name_input_as_set(self): unique_lfns_snake_case = get_unique_lfns( set(self.lfns_with_duplicates_snake_case)) self.assertSetEqual(unique_lfns_snake_case, self.unique_lfns_snake_case)
def test_count_equal(self): unique_lfns = get_unique_lfns(self.lfns_with_duplicates) self.assertCountEqual(unique_lfns, self.unique_lfns)