def setUp(self): from ots.worker.conductor.hardware import Hardware from ots.worker.conductor.executor import TestRunData as TestRunData self.config = _conductor_config_simple() self.testrun = TestRunData(Options(), config=self.config) self.mock_hw = Mock_Hardware(self.testrun) self.real_hw = Hardware( self.testrun) #for testing methods stubbed out in mock_hw