Tests: Fix missing <br/> in generated html report. wxPython4
authorEdouard Tisserant <edouard.tisserant@gmail.com>
Thu, 07 Apr 2022 15:28:24 +0200
branchwxPython4
changeset 3448 523f6fcc7a28
parent 3447 65c5f66e9298
child 3449 6279ec06df98
Tests: Fix missing <br/> in generated html report.
tests/ide_tests/sikuliberemiz.py
--- a/tests/ide_tests/sikuliberemiz.py	Thu Apr 07 07:40:32 2022 +0200
+++ b/tests/ide_tests/sikuliberemiz.py	Thu Apr 07 15:28:24 2022 +0200
@@ -292,9 +292,8 @@
         fname = "capture"+str(self.screenshotnum)+".png"
         cap = self.screen.capture(self.r)
         cap.save(".", fname)
-        # self.report.write("ReportScreenShot " + msg + " " + fname + "\n")
         self.screenshotnum = self.screenshotnum + 1
-        self.report.write( "<p>" + elapsed + msg + "<img src=\""+ fname + "\">" + "</p>")
+        self.report.write( "<p>" + elapsed + msg + "<br/><img src=\""+ fname + "\">" + "</p>")
 
     def ReportText(self, text):
         elapsed = "%.3fs: "%(timesec() - self.starttime)