def teardown_class(self): # 回收环境 clr_env.clear_env() fun.send(rbmExc, message.delvlan['SetVlan'], rbmDomain, base_path) fun.rbm_close() fun.ssh_close('gw')
def teardown_class(self): #回收环境 for i in clr_env.clear_env: fun.cmd(i,'gw') for i in fun.mac: fun.ssh_close(i)
def teardown_class(self): # 回收环境 # for i in clr_env.clear_env: # fun.cmd(i, 'gw') fun.rbm_close() fun.ssh_close('gw')
def teardown_class(self): # 回收环境 clr_env.iso_setup_class(dut='FrontDut') clr_env.iso_setup_class(dut='BackDut') fun.rbm_close() fun.ssh_close('FrontDut') fun.ssh_close('BackDut')
def teardown_class(self): # 回收环境 clr_env.iso_teardown_met('http_redirect', base_path) clr_env.iso_setup_class(dut='FrontDut') clr_env.iso_setup_class(dut='BackDut') fun.rbm_close() fun.ssh_close('FrontDut') fun.ssh_close('BackDut')
def teardown_class(self): # 回收环境 clr_env.iso_teardown_met('mail', base_path) clr_env.iso_teardown_met('ftp', base_path) clr_env.iso_teardown_met('tcp_http', base_path) clr_env.iso_setup_class(dut='FrontDut') clr_env.iso_setup_class(dut='BackDut') fun.rbm_close() fun.ssh_close('FrontDut') fun.ssh_close('BackDut')
def teardown_class(self): # 回收环境 clr_env.clear_env() fun.rbm_close() fun.ssh_close('gw') fun.ssh_close('vlanA') fun.ssh_close('vlanB')
def teardown_class(self): # 回收环境 clr_env.clear_env() fun.pid_kill('8889', process='python3', gw='vlanA') fun.pid_kill('8889', process='python3', gw='gw') fun.send(rbmExc, message.delvlan['SetVlan'], rbmDomain, base_path) fun.rbm_close() fun.ssh_close('gw') fun.ssh_close('vlanA') fun.ssh_close('vlanB')
def teardown_class(self): #回收环境 # fun.rbm_close() fun.ssh_close('c') fun.ssh_close('s') fun.ssh_close('gw')
def teardown_class(self): # 回收环境 clr_env.clear_env() fun.ssh_close('gw')