[autotest] [atomic] Remove atomic groups RPC
BUG=chromium:681906
TEST=Run unittest suite
Change-Id: I7b46a4390000a3ed6500b2db0f893b7dfaa04ce6
Reviewed-on: https://chromium-review.googlesource.com/435566
Commit-Ready: Allen Li <[email protected]>
Tested-by: Allen Li <[email protected]>
Reviewed-by: Richard Barnette <[email protected]>
diff --git a/frontend/afe/moblab_rpc_interface.py b/frontend/afe/moblab_rpc_interface.py
index da513ad..d73aea8 100644
--- a/frontend/afe/moblab_rpc_interface.py
+++ b/frontend/afe/moblab_rpc_interface.py
@@ -503,7 +503,7 @@
leases = _get_dhcp_dut_leases()
# Get a list of the AFE configured DUT's
- hosts = list(rpc_utils.get_host_query((), False, False, True, {}))
+ hosts = list(rpc_utils.get_host_query((), False, True, {}))
models.Host.objects.populate_relationships(hosts, models.Label,
'label_list')
configured_duts = {}
@@ -600,14 +600,14 @@
def _get_connected_dut_labels(requested_label, only_first_label=True):
""" Query the DUT's attached to the moblab and return a filtered list of labels.
-
+
@param requested_label: the label name you are requesting.
@param only_first_label: if the device has the same label name multiple times only
return the first label value in the list.
@return: A de-duped list of requested dut labels attached to the moblab.
"""
- hosts = list(rpc_utils.get_host_query((), False, False, True, {}))
+ hosts = list(rpc_utils.get_host_query((), False, True, {}))
if not hosts:
return []
models.Host.objects.populate_relationships(hosts, models.Label,