tests: separate test component names with dot

This way the same name can be simply copy-pasted to command line - to
rerun a single test.
This commit is contained in:
Marek Marczykowski-Górecki 2015-02-19 03:55:31 +01:00
parent 7596f753d8
commit f7a47e6c66

View File

@ -101,7 +101,7 @@ class QubesTestResult(unittest.TestResult):
fullname[-1] = '{color[bold]}{}{color[normal]}'.format(
fullname[-1], color=self.color)
teststr[i] = '_'.join(fullname)
teststr = '/'.join(teststr)
teststr = '.'.join(teststr)
doc_first_line = test.shortDescription()
if self.descriptions and doc_first_line: