def GetTestGroupsFromFile(self, file_path):  # This needs to be a list instead of a dictionary to preserve order in python < 2.7
        TestGroups = []
        ConfigFile = FileOperations.open(file_path, 'r').read().splitlines()
        for line in ConfigFile:
            if '#' == line[0]:
                continue  # Skip comments
            try:
                Code, Priority, Descrip, Hint, URL = line.strip().split(' | ')
            except __HOLE__:
                self.error_handler.FrameworkAbort("Problem in Test Groups file: '" + file_path + "' -> Cannot parse line: " + line)
            if len(Descrip) < 2:
                Descrip = Hint
            if len(Hint) < 2:
                Hint = ""
            TestGroups.append({'code': Code, 'priority': Priority, 'descrip': Descrip, 'hint': Hint, 'url': URL})
        return TestGroups
dataset/ETHPy150Open owtf/owtf/framework/db/plugin_manager.py/PluginDB.GetTestGroupsFromFile