diff options
author | Frederic Peters <fpeters@entrouvert.com> | 2004-07-25 18:50:25 +0000 |
---|---|---|
committer | Frederic Peters <fpeters@entrouvert.com> | 2004-07-25 18:50:25 +0000 |
commit | 614ac78aa0bda9d7fcf1ef534bdf069777b84065 (patch) | |
tree | beabb2632f3739826ea849d44cab46665ac2495e /python/tests/tests.py | |
parent | a194ef543ad9923be551758fad6af62a235028cb (diff) | |
download | lasso-614ac78aa0bda9d7fcf1ef534bdf069777b84065.tar.gz lasso-614ac78aa0bda9d7fcf1ef534bdf069777b84065.tar.xz lasso-614ac78aa0bda9d7fcf1ef534bdf069777b84065.zip |
add title and time for test suites (in xml output)
Diffstat (limited to 'python/tests/tests.py')
-rwxr-xr-x | python/tests/tests.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/tests/tests.py b/python/tests/tests.py index 7c944b65..64e1cb06 100755 --- a/python/tests/tests.py +++ b/python/tests/tests.py @@ -28,6 +28,7 @@ import imp import sys +import time import unittest from XmlTestRunner import XmlTestRunner @@ -43,6 +44,8 @@ testSuites = ( if "--xml" in sys.argv: print """<?xml version="1.0"?>""" print """<testsuites xmlns="http://www.0d.be/ns/unittest">""" + print """ <title>Python Bindings</title>""" + print """ <datetime>%s</datetime>""" % time.strftime('%Y-%m-%d %H:%M:%S', time.localtime()) success = True for testSuite in testSuites: |