def setUp(self): mock.patch(utils.READ_CONFIG, utils.read_config_mock('a8')).start() gateway_manager = mock.Mock() self.g_v = autotest.AutoTestManager(gateway_manager)
def auto_tests(self, channel, blink, flash, gps): """ Run Auto-tests on nodes and gateway """ autotest_manager = autotest.AutoTestManager(self) return autotest_manager.auto_tests(channel, blink, flash, gps)
def setUp(self): config = utils.read_config_mock('a8', linux_open_node_type='a8_m3') mock.patch(utils.READ_CONFIG, config).start() gateway_manager = mock.Mock() self.g_v = autotest.AutoTestManager(gateway_manager)