def result_from_xml(self): if self._xml_result is None: self._suite, errs = process_outputs(self._data_sources, self.settings) self._suite.set_options(self.settings) self._xml_result = ResultFromXML(self._suite, errs, self.settings) return self._xml_result
def __init__(self, datasources, settings): suite, exec_errors = process_outputs(datasources, settings) suite.set_options(settings) RobotTestOutput.__init__(self, suite, exec_errors, settings) self._namegen = utils.FileNameGenerator(settings['Log'])