def test_executeCMD(self): action = haap.Action(ip, t_port, passwd, ftp_port) assert action._executeCMD('engine') != None action._TN_Connect_Status = None assert action._executeCMD('engine') == None
def setup_class(self): time.sleep(5) self.action = haap.Action(ip, t_port, passwd, ftp_port)