def _savereport(self, report, runid): #text textfilename = Utility.expand(self.getoption('BaseReporter_TextFile'), runid = runid) textcontent = str(report) Utility.writefile(textfilename, textcontent) #html htmlfilename = Utility.expand(self.getoption('BaseReporter_HtmlFile'), runid = runid) htmlcontent = report.tohtml() Utility.writefile(htmlfilename, htmlcontent)
def _savereport(self, report, runid): #text textfilename = Utility.expand(self.getoption('BaseReporter_TextFile'), runid=runid) textcontent = str(report) Utility.writefile(textfilename, textcontent) #html htmlfilename = Utility.expand(self.getoption('BaseReporter_HtmlFile'), runid=runid) htmlcontent = report.tohtml() Utility.writefile(htmlfilename, htmlcontent)
def _saveextract(self, runnode, runid): filename = Utility.expand(self.getoption('BaseExtractor_XmlFile'), runid = runid) content = runnode.toprettyxml() Utility.writefile(filename, content)