don't print empty lines with junitxml file printing
--HG-- branch : trunk
This commit is contained in:
parent
46f72d9350
commit
bdd1006e06
|
@ -166,6 +166,7 @@ class LogXML(object):
|
||||||
logfile.writelines(self.test_logs)
|
logfile.writelines(self.test_logs)
|
||||||
logfile.write('</testsuite>')
|
logfile.write('</testsuite>')
|
||||||
logfile.close()
|
logfile.close()
|
||||||
tw = session.config.pluginmanager.getplugin("terminalreporter")._tw
|
|
||||||
tw.line()
|
def pytest_terminal_summary(self, terminalreporter):
|
||||||
tw.sep("-", "generated xml file: %s" %(self.logfile))
|
tw = terminalreporter._tw
|
||||||
|
terminalreporter.write_sep("-", "generated xml file: %s" %(self.logfile))
|
||||||
|
|
Loading…
Reference in New Issue