tests: allow real prefix notation for selecting tests
This commit is contained in:
parent
7f5feac98b
commit
c07981da88
@ -351,7 +351,7 @@ def main():
|
||||
for name in args.names:
|
||||
suite.addTests(
|
||||
[test for test in list_test_cases(alltests)
|
||||
if (str(test)+'/').startswith(name+'/')])
|
||||
if (str(test)).startswith(name)])
|
||||
else:
|
||||
suite.addTests(loader.loadTestsFromName('qubes.tests'))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user