diff options
-rw-r--r-- | pmstestsuite/output/html.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/pmstestsuite/output/html.py b/pmstestsuite/output/html.py index 71ea2ac..20e5805 100644 --- a/pmstestsuite/output/html.py +++ b/pmstestsuite/output/html.py @@ -62,12 +62,13 @@ class HTMLOutput(OutputModule): </style> </head> <body> - <table>''' + <table> +''' - _htmlfooter = ''' - </table> + _htmlfooter = ''' </table> </body> -</html>''' +</html> +''' def __call__(self, allresults, verbose = False): mypms = [] @@ -209,7 +210,7 @@ class HTMLOutput(OutputModule): f = open(self._path, 'w') f.write(self._htmlheader) for y in range(0, row): - f.write('<tr>') + f.write('\t\t\t<tr>') for x in range(0, maxcol): cell = table[y][x] if cell is not None: @@ -224,7 +225,7 @@ class HTMLOutput(OutputModule): cell = TD(cell) cell.set_rowspan(rowspan) f.write(str(cell)) - f.write('</tr>') + f.write('</tr>\n') f.write(self._htmlfooter) f.close() |