Beispiel #1
0
    def __init__(self , config_file , logger):
        installAbortSignals()

        self.queue_lock = threading.Lock()
        self.ert_handle = None
        self.logger = logger
        if os.path.exists(config_file):
            self.open( config_file )
        else:
            raise IOError("The config file:%s does not exist" % config_file)

        self.initCmdTable()
        self.run_context = None
        self.init_fs = None
        self.run_fs = None
        self.run_count = 0
Beispiel #2
0
    def __init__(self, config_file, logger):
        installAbortSignals()

        self.queue_lock = threading.Lock()
        self.ert_handle = None
        self.logger = logger
        if os.path.exists(config_file):
            self.open(config_file)
        else:
            raise IOError("The config file:%s does not exist" % config_file)

        self.initCmdTable()
        self.run_context = None
        self.init_fs = None
        self.run_fs = None
        self.run_count = 0
Beispiel #3
0
    def __init__(self , config , logger=None):
        installAbortSignals()

        self.queue_lock = threading.Lock()
        self.ert_handle = None

        if logger is None:
            logger = logging

        self.logger = logger

        self.open(config)

        self.initCmdTable()
        self.run_context = None
        self.init_fs = None
        self.run_fs = None
        self.run_count = 0
Beispiel #4
0
 def __init__(self , *args , **kwargs):
     self.__testdata_root = None
     self.__share_root = None
     installAbortSignals()
     super(ExtendedTestCase , self).__init__(*args , **kwargs)
Beispiel #5
0
 def __init__(self , *args , **kwargs):
     self.__testdata_root = None
     self.__share_root = None
     installAbortSignals()
     super(ExtendedTestCase , self).__init__(*args , **kwargs)