[autotest] Move Suite staticmethods together
BUG=chromium:672348
TEST=None
Change-Id: I447340d3582c1e90b2b460a0e7e6416da131b130
Reviewed-on: https://chromium-review.googlesource.com/448035
Commit-Ready: Allen Li <ayatane@chromium.org>
Tested-by: Allen Li <ayatane@chromium.org>
Reviewed-by: Allen Li <ayatane@chromium.org>
diff --git a/server/cros/dynamic_suite/suite.py b/server/cros/dynamic_suite/suite.py
index 053254d..4f5278e 100644
--- a/server/cros/dynamic_suite/suite.py
+++ b/server/cros/dynamic_suite/suite.py
@@ -742,6 +742,11 @@
"""
+ # TODO(ayatane): These methods are kept on the Suite class for
+ # backward compatibility.
+ find_and_parse_tests = _deprecated_suite_method(find_and_parse_tests)
+ find_possible_tests = _deprecated_suite_method(find_possible_tests)
+
@staticmethod
def _create_ds_getter(build, devserver):
@@ -1543,12 +1548,6 @@
{hashlib.md5(job.test_name).hexdigest(): job_id_owner})
- # TODO(ayatane): These methods are kept on the Suite class for
- # backward compatibility.
- find_possible_tests = _deprecated_suite_method(find_possible_tests)
- find_and_parse_tests = _deprecated_suite_method(find_and_parse_tests)
-
-
def _is_nonexistent_board_error(e):
"""Return True if error is caused by nonexistent board label.