Also support full qualified test names
This commit is contained in:
parent
29b7efa36b
commit
f30b1174b8
1 changed files with 2 additions and 1 deletions
|
|
@ -39,7 +39,8 @@ class BetterLoader(TestLoader):
|
|||
|
||||
all_tests = []
|
||||
for testcase, testname in find_all_tests_with_name():
|
||||
if testname.endswith('.' + name) or ('.' + name + '.') in testname:
|
||||
if testname.endswith('.' + name) or ('.' + name + '.') in testname or \
|
||||
testname.startswith(name + '.'):
|
||||
all_tests.append(testcase)
|
||||
|
||||
if not all_tests:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue