• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 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
5from autotest_lib.client.common_lib.cros import tpm_utils
6from autotest_lib.server import test, autotest
7
8
9class enterprise_RemoraRequisitionDisplayUsageServer(test.test):
10    """A test that runs enterprise_RemoraRequisitionDisplayUsage and clears
11    the TPM as necessary."""
12    version = 1
13
14    def run_once(self, host=None):
15        self.client = host
16
17        tpm_utils.ClearTPMOwnerRequest(self.client)
18        autotest.Autotest(self.client).run_test(
19            'enterprise_RemoraRequisitionDisplayUsage',
20             check_client_result=True)
21        tpm_utils.ClearTPMOwnerRequest(self.client)
22