diff --git a/tests/test_pretty_print.py b/tests/test_pretty_print.py index abb50fc7..3d429012 100755 --- a/tests/test_pretty_print.py +++ b/tests/test_pretty_print.py @@ -299,22 +299,59 @@ TESTLOG return imgs, txtpages -def wikitohtml(wiki_rootpath, sysid, wikidata, manifest): - # temporarily defunct/broken +def tohtml(wiki_rootpath, startdate, tests, enddate, sysinfo, sysid, makefiles): + # kludge. assume wiki stuff has alreayd run and dumped files properly head = '
',x)
- x=re.sub("'''(.*?)'''","\\1",x)
- filestrs=re.findall('\[\[File\:(.*?)\|.*?\]\]',x)
- for f in filestrs:
- newfile_html=' |
\n'} #order matters - for key in dic: x=x.replace(key,dic[key]) - x=re.sub("\[\[(.*?)\]\]","\\1",x) - return head + x + '' + tail = '