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:
parent
7596f753d8
commit
f7a47e6c66
@ -101,7 +101,7 @@ class QubesTestResult(unittest.TestResult):
|
|||||||
fullname[-1] = '{color[bold]}{}{color[normal]}'.format(
|
fullname[-1] = '{color[bold]}{}{color[normal]}'.format(
|
||||||
fullname[-1], color=self.color)
|
fullname[-1], color=self.color)
|
||||||
teststr[i] = '_'.join(fullname)
|
teststr[i] = '_'.join(fullname)
|
||||||
teststr = '/'.join(teststr)
|
teststr = '.'.join(teststr)
|
||||||
|
|
||||||
doc_first_line = test.shortDescription()
|
doc_first_line = test.shortDescription()
|
||||||
if self.descriptions and doc_first_line:
|
if self.descriptions and doc_first_line:
|
||||||
|
Loading…
Reference in New Issue
Block a user