From c07981da8858281f689a0a462f716b2fcd8413b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sun, 3 Apr 2016 03:41:55 +0200 Subject: [PATCH] tests: allow real prefix notation for selecting tests --- qubes/tests/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubes/tests/run.py b/qubes/tests/run.py index 52afbe48..585a5b9c 100755 --- a/qubes/tests/run.py +++ b/qubes/tests/run.py @@ -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'))