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 5from autotest_lib.server import utils 6 7AUTHOR = 'ejcaruso, snanda' 8NAME = 'network_WiFi_RandomMACAddress' 9TIME = 'SHORT' 10TEST_TYPE = 'Server' 11DEPENDENCIES = 'wificell, packet_capture' 12ATTRIBUTES = 'suite:wifi_matfunc, suite:wifi_matfunc_noservo' 13 14DOC = """ 15This test verifies that MAC address randomization can be 16turned on and that scans launched with the feature do not use 17the hardware MAC address. 18""" 19 20args_dict = utils.args_to_dict(args) 21 22def run(machine): 23 host = hosts.create_host(machine) 24 job.run_test('network_WiFi_RandomMACAddress', 25 host=host, 26 raw_cmdline_args=args) 27 28parallel_simple(run, machines) 29