blob: 8022d1334e0167e476d54f72fc2547b57e36221a [file] [log] [blame]
# Copyright 2015 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# TEST IS DISABLED UNTIL MIGRATED TO PYTHON 3.
# For instructions on how to: go/tauto-py3-migration
# To re-enable migrate to Python 3.
# If the test is not migrated by 1/14/22 it will be deleted.
from autotest_lib.server import utils
AUTHOR = 'ejcaruso, samueltan, snanda'
NAME = 'network_WiFi_WakeOnSSID'
TIME = 'SHORT'
TEST_TYPE = 'Server'
DEPENDENCIES = 'wificell, servo_state:WORKING, lucidsleep'
ATTRIBUTES = 'suite:wifi_lucidsleep'
DOC = """
This test verifies that the NIC wakes the DUT up in dark resume on the
appearance of a allowlisted SSID if it previously suspended disconnected.
"""
args_dict = utils.args_to_dict(args)
servo_args = hosts.CrosHost.get_servo_arguments(args_dict)
def run(machine):
host = hosts.create_host(machine, servo_args=servo_args)
job.run_test('network_WiFi_WakeOnSSID',
host=host,
raw_cmdline_args=args)
parallel_simple(run, machines)