Home | History | Annotate | Download | only in bin
      1 """The standalone harness interface
      2 
      3 The default interface as required for the standalone reboot helper.
      4 """
      5 
      6 __author__ = """Copyright Andy Whitcroft 2007"""
      7 
      8 import os, harness
      9 
     10 class harness_standalone(harness.harness):
     11     """The standalone server harness
     12 
     13     Properties:
     14             job
     15                     The job object for this job
     16     """
     17 
     18     def __init__(self, job, harness_args):
     19         """
     20                 job
     21                         The job object for this job
     22         """
     23         self.autodir = os.path.abspath(os.environ['AUTODIR'])
     24         self.setup(job)