def setUp(self): "" util.setup_test() self.bat = self.makeBatchInterface() self.bat.setTimeout('script', 5) self.bat.setTimeout('logcheck', 1) self.job = BatchJob()
def setUp(self, cleanout=True): "" util.setup_test( cleanout ) # for batch tests os.environ['VVTEST_BATCH_READ_INTERVAL'] = '5' os.environ['VVTEST_BATCH_READ_TIMEOUT'] = '15' os.environ['VVTEST_BATCH_SLEEP_LENGTH'] = '1' # force the results files to be written locally for testing; # it is used in vvtest when handling the --save-results option os.environ['TESTING_DIRECTORY'] = os.getcwd()
def setUp(self, cleanout=True): "" util.setup_test(cleanout)