From f30b1174b85ae44b4d215045ef3361f2c3b3a367 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Fri, 26 Aug 2011 12:00:26 +0100 Subject: [PATCH] Also support full qualified test names --- run-tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/run-tests.py b/run-tests.py index 176094b6..b74e7f71 100644 --- a/run-tests.py +++ b/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: