• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2009 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_RemoraRequisitionServer(test.test):
10    """A test that runs enterprise_RemoraRequisition and clears the TPM as
11    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('enterprise_RemoraRequisition',
19                                                check_client_result=True)
20        tpm_utils.ClearTPMOwnerRequest(self.client)
21