summaryrefslogtreecommitdiffstats
path: root/python/tests/tests.py
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2004-07-25 18:50:25 +0000
committerFrederic Peters <fpeters@entrouvert.com>2004-07-25 18:50:25 +0000
commit614ac78aa0bda9d7fcf1ef534bdf069777b84065 (patch)
treebeabb2632f3739826ea849d44cab46665ac2495e /python/tests/tests.py
parenta194ef543ad9923be551758fad6af62a235028cb (diff)
downloadlasso-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-xpython/tests/tests.py3
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: