xref: /aosp_15_r20/external/autotest/client/bin/harness_standalone.py (revision 9c5db1993ded3edbeafc8092d69fe5de2ee02df7)
1"""The standalone harness interface
2
3The default interface as required for the standalone reboot helper.
4"""
5
6__author__ = """Copyright Andy Whitcroft 2007"""
7
8import os
9from autotest_lib.client.bin import harness
10
11
12class harness_standalone(harness.harness):
13    """The standalone server harness
14
15    Properties:
16            job
17                    The job object for this job
18    """
19
20    def __init__(self, job, harness_args):
21        """
22                job
23                        The job object for this job
24        """
25        self.autodir = os.path.abspath(os.environ['AUTODIR'])
26        self.setup(job)