cleanup: @staticmethod

This commit is contained in:
Mike Sinkovsky 2017-01-18 18:53:54 +05:00 committed by Jussi Pakkanen
parent dac8351ff1
commit 550761d97b
1 changed files with 2 additions and 0 deletions

View File

@ -333,12 +333,14 @@ TIMEOUT: %4d
self.run_tests(tests)
return self.fail_count
@staticmethod
def split_suite_string(suite):
if ':' in suite:
return suite.split(':', 1)
else:
return suite, ""
@staticmethod
def test_in_suites(test, suites):
for suite in suites:
(prj_match, st_match) = TestHarness.split_suite_string(suite)