コード例 #1
0
 def parse_suite(self, file_path):
     self.file_path = file_path
     if path.exists(file_path):
         model = parsing.TestCaseFile(source=file_path).populate()
         return self._parse_robot_data(file_path, model)
     else:
         logging.error('File %s could not be found', file_path)
         raise ValueError('File does not exist: {0}'.format(file_path))
コード例 #2
0
 def _parse(self):
     return parsing.TestCaseFile(source=self.path).populate()