validate:launcher Rename _other_testsuite_for_tester
authorThibault Saunier <tsaunier@gnome.org>
Sat, 14 Mar 2015 15:40:17 +0000 (15:40 +0000)
committerThibault Saunier <tsaunier@gnome.org>
Tue, 17 Mar 2015 11:41:26 +0000 (12:41 +0100)
To _check_tester_has_other_testsuite

validate/launcher/baseclasses.py

index f4ccb43..bc4e31d 100644 (file)
@@ -1036,7 +1036,7 @@ class _TestsLauncher(Loggable):
         if not options.config and options.testsuites:
             self._setup_testsuites()
 
-    def _other_testsuite_for_tester(self, testsuite, tester):
+    def _check_tester_has_other_testsuite(self, testsuite, tester):
         if len(testsuite.TEST_MANAGER) > 1:
             return True
 
@@ -1057,7 +1057,7 @@ class _TestsLauncher(Loggable):
 
         tests_names = [test.classname for test in tests]
         for testsuite in self.options.testsuites:
-            if not self._other_testsuite_for_tester(testsuite, tester) \
+            if not self._check_tester_has_other_testsuite(testsuite, tester) \
                     and tester.check_testslist:
                 try:
                     testlist_file = open(os.path.splitext(testsuite.__file__)[0] + ".testslist",