Commit 460fb9dc authored by Marco Clemencic's avatar Marco Clemencic
Browse files

Better handling of QMTest test names

parent 62598c4d
......@@ -22,7 +22,9 @@ class QMTTest(BaseTest):
import xml.etree.ElementTree as ET
log.debug('parsing %s', path)
self.name = path
self.name = '.'.join(os.path.relpath(path, self.basedir)
.replace('.qmt', '').replace('.qms', '')
.split(os.sep))
tree = ET.parse(path)
for child in tree.getroot():
......
Supports Markdown
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