Loading doc/analysis/generaterobotdata.py +1 −12 Original line number Diff line number Diff line Loading @@ -554,18 +554,7 @@ class GenerateRobotData: return result def generate_reference_testcases(self, tags: list, version: str): # check_tags = all(item == tags[0] for item in tags) # # if check_tags is False or len(tags) == 0: # raise Exception(f'ERROR: the Test Suite {{self.suite.name}} has different clauses or no clauses (Tags): ' # f'{tags}\nUnable to select the corresponding Reference of this Test Suite') # else: # # All the clauses are the same, so we select the first one # reference = f'{{self.references[version]}}{tags[0].replace("_", ".")}' # pics = f'PICS_{tags[0]}' # # return reference, pics aux = [x for x in tags if match(pattern=r'^(\d+_\d+_\d+)', string=x)] aux = [x for x in tags if match(pattern=r'^(\d+_\d+_\d+)|^(\d+_\d+)', string=x)] if len(aux) == 0: raise Exception( Loading Loading
doc/analysis/generaterobotdata.py +1 −12 Original line number Diff line number Diff line Loading @@ -554,18 +554,7 @@ class GenerateRobotData: return result def generate_reference_testcases(self, tags: list, version: str): # check_tags = all(item == tags[0] for item in tags) # # if check_tags is False or len(tags) == 0: # raise Exception(f'ERROR: the Test Suite {{self.suite.name}} has different clauses or no clauses (Tags): ' # f'{tags}\nUnable to select the corresponding Reference of this Test Suite') # else: # # All the clauses are the same, so we select the first one # reference = f'{{self.references[version]}}{tags[0].replace("_", ".")}' # pics = f'PICS_{tags[0]}' # # return reference, pics aux = [x for x in tags if match(pattern=r'^(\d+_\d+_\d+)', string=x)] aux = [x for x in tags if match(pattern=r'^(\d+_\d+_\d+)|^(\d+_\d+)', string=x)] if len(aux) == 0: raise Exception( Loading