OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:hosts_per_spec
(Results
1 - 2
of
2
) sorted by null
/external/autotest/server/cros/dynamic_suite/
host_spec_unittest.py
65
hosts_per_spec
= {host_spec.HostSpec(['l1']): host_list[:1],
67
group = host_spec.ExplicitHostGroup(
hosts_per_spec
)
75
hosts_per_spec
= {host_spec.HostSpec(['l1']): host_list[:1],
78
host_spec.ExplicitHostGroup,
hosts_per_spec
)
95
hosts_per_spec
= {specs[0]: host_list[:1], specs[1]: host_list[1:]}
96
group = host_spec.ExplicitHostGroup(
hosts_per_spec
)
115
hosts_per_spec
= {specs[0]: host_list[:1],
118
group = host_spec.ExplicitHostGroup(
hosts_per_spec
)
host_spec.py
34
def simple_get_spec_and_hosts(host_specs,
hosts_per_spec
):
35
"""Given a simple list of HostSpec, extract hosts from
hosts_per_spec
.
38
get the associated hosts out of
hosts_per_spec
. Return the spec and the
42
@param
hosts_per_spec
: map of {HostSpec: [list, of, hosts]}
46
return spec,
hosts_per_spec
[spec]
108
def __init__(self,
hosts_per_spec
={}):
111
@param
hosts_per_spec
: {HostSpec: [list, of, hosts]}.
116
for spec, host_list in
hosts_per_spec
.iteritems():
Completed in 61 milliseconds