1 # Copyright 2017 The Chromium OS Authors. All rights reserved. 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 5 from autotest_lib.server import utils 6 7 AUTHOR = 'ejcaruso, snanda' 8 NAME = 'network_WiFi_RandomMACAddress' 9 TIME = 'SHORT' 10 TEST_TYPE = 'Server' 11 DEPENDENCIES = 'wificell, packet_capture' 12 ATTRIBUTES = 'suite:wifi_matfunc, suite:wifi_matfunc_noservo' 13 14 DOC = """ 15 This test verifies that MAC address randomization can be 16 turned on and that scans launched with the feature do not use 17 the hardware MAC address. 18 """ 19 20 args_dict = utils.args_to_dict(args) 21 22 def run(machine): 23 host = hosts.create_host(machine) 24 job.run_test('network_WiFi_RandomMACAddress', 25 host=host, 26 raw_cmdline_args=args) 27 28 parallel_simple(run, machines) 29