Home | History | Annotate | Download | only in policy_AUServer
      1 # Copyright 2018 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 = 'kathrelkeld'
      8 NAME = 'policy_AUServer.TargetVersion.short_prefix'
      9 TIME = 'SHORT'
     10 TEST_CATEGORY = 'General'
     11 TEST_CLASS = 'enterprise'
     12 TEST_TYPE = 'server'
     13 ATTRIBUTES = 'suite:ent-nightly, suite:policy'
     14 
     15 DOC = """
     16 Sets up and runs the client test for the DeviceTargetVersionPrefix
     17 policy.
     18 
     19 """
     20 args_dict = utils.args_to_dict(args)
     21 client_test = 'policy_DeviceTargetVersionPrefix'
     22 case = 'short_prefix'
     23 
     24 def run(machine):
     25     host = hosts.create_host(machine)
     26     job.run_test('policy_AUServer', host=host, client_test=client_test,
     27                  case=case, **args_dict)
     28 
     29 parallel_simple(run, machines)
     30