Commit 2c206751 authored by Andreas Jung's avatar Andreas Jung

added HTML regression tests for all files

parent 89994a14
......@@ -103,10 +103,7 @@ package_dir = os.path.split(ST.__file__)[0]
regressions=os.path.join(package_dir, 'regressions')
files = ['index.stx','Acquisition.stx','ExtensionClass.stx',
'MultiMapping.stx','examples.stx']
reg_files = ['Links.stx']
'MultiMapping.stx','examples.stx','Links.stx']
def readFile(dirname,fname):
......@@ -170,7 +167,7 @@ class StructuredTextTests(unittest.TestCase):
def testRegressionsTests(self):
""" HTML regression test """
for f in reg_files:
for f in files:
Doc = DocumentClass.DocumentClass()
HTML = HTMLClass.HTMLClass()
raw_text = readFile(regressions,f)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment