[autotest] Update some afe_utils methods to use host._afe_host.
Updated the following methods to use local host._afe_host.labels:
- get_labels
- get_board
- get_os
- get_build
Also updated callers as well since it used to return a list of Label
objects, now it returns a list of strings.
BUG=None
TEST=unittests and tryjob on wolf-paladin with hwtests.
Change-Id: Ib1ab3b4fea5d69d2e587a0d09ef0f3463915e11e
Reviewed-on: https://chromium-review.googlesource.com/360512
Commit-Ready: Justin Giorgi <jgiorgi@google.com>
Tested-by: Kevin Cheng <kevcheng@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
diff --git a/server/cros/provision.py b/server/cros/provision.py
index cc9c931..6080cf5 100644
--- a/server/cros/provision.py
+++ b/server/cros/provision.py
@@ -12,6 +12,7 @@
### Constants for label prefixes
CROS_VERSION_PREFIX = 'cros-version'
ANDROID_BUILD_VERSION_PREFIX = 'ab-version'
+TESTBED_BUILD_VERSION_PREFIX = 'testbed-version'
FW_RW_VERSION_PREFIX = 'fwrw-version'
FW_RO_VERSION_PREFIX = 'fwro-version'