blob: 6ff1a73ab13205e3702a918c0eccc5c56d336e57 [file] [log] [blame]
# Copyright 2017 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.
AUTHOR = "achuith@chromium.org"
NAME = "telemetry_UnitTestsServer"
PURPOSE = "Run the Telemetry unit tests as a logged-in user."
ATTRIBUTES = "suite:telemetry_unit_server"
TIME = "LONG"
TEST_CATEGORY = "Functional"
TEST_CLASS = "desktopui"
TEST_TYPE = "server"
DOC = """
Verifies that all Telemetry unit tests pass when run as a logged-in user.
"""
def run_client(machine):
host = hosts.create_host(machine)
host.log_kernel()
job.run_test('telemetry_UnitTestsServer', host=host,
use_packaging=use_packaging,
copy_boto_file=True,
browser_type='system', tag='user', unit_tests=[''],
perf_tests=[])
job.parallel_simple(run_client, machines)