cleanup: @staticmethod
This commit is contained in:
parent
dac8351ff1
commit
550761d97b
|
@ -333,12 +333,14 @@ TIMEOUT: %4d
|
||||||
self.run_tests(tests)
|
self.run_tests(tests)
|
||||||
return self.fail_count
|
return self.fail_count
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
def split_suite_string(suite):
|
def split_suite_string(suite):
|
||||||
if ':' in suite:
|
if ':' in suite:
|
||||||
return suite.split(':', 1)
|
return suite.split(':', 1)
|
||||||
else:
|
else:
|
||||||
return suite, ""
|
return suite, ""
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
def test_in_suites(test, suites):
|
def test_in_suites(test, suites):
|
||||||
for suite in suites:
|
for suite in suites:
|
||||||
(prj_match, st_match) = TestHarness.split_suite_string(suite)
|
(prj_match, st_match) = TestHarness.split_suite_string(suite)
|
||||||
|
|
Loading…
Reference in New Issue