Browse Source

Also support full qualified test names

pull/309/head
Armin Ronacher 13 years ago
parent
commit
f30b1174b8
  1. 3
      run-tests.py

3
run-tests.py

@ -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…
Cancel
Save