[pypy-svn] r38335 - pypy/dist/pypy/tool/pytest

pedronis at codespeak.net pedronis at codespeak.net
Sat Feb 10 01:07:32 CET 2007


Author: pedronis
Date: Sat Feb 10 01:07:29 2007
New Revision: 38335

Modified:
   pypy/dist/pypy/tool/pytest/htmlreport.py
Log:
let tweak the section headers



Modified: pypy/dist/pypy/tool/pytest/htmlreport.py
==============================================================================
--- pypy/dist/pypy/tool/pytest/htmlreport.py	(original)
+++ pypy/dist/pypy/tool/pytest/htmlreport.py	Sat Feb 10 01:07:29 2007
@@ -103,19 +103,19 @@
     
     # generate html files 
     #
-    def makeindex(self, indexpath): 
+    def makeindex(self, indexpath, detail="PyPy - latest"): 
         self.indexpath = indexpath
         self.data = {}
         doc = Document(title='pypy test results')
         body = doc.body
         coretests, noncoretests = self.getcorelists()
-        body.append(html.h2("PyPy - latest compliance test results - "
-                       "core tests"))
+        body.append(html.h2("%s compliance test results - "
+                            "core tests" % detail))
 
         body.append(self.render_test_summary('core', coretests))
         body.append(self.render_latest_table(coretests))
         body.append(
-            html.h2("PyPy - latest compliance test results - non-core tests"))
+            html.h2("%s compliance test results - non-core tests" % detail))
         body.append(self.render_test_summary('noncore', noncoretests))
         body.append(self.render_latest_table(noncoretests))
         doc.writetopath(indexpath)



More information about the Pypy-commit mailing list