def test_login_false_username_telnet(self, credentials):
"""Verify AuthenticationException in case Incorrect username for telnet object.
"""
telnet_conn = clitelnet.TelnetCMD(credentials[0])
with pytest.raises(CLIException):
telnet_conn = clitelnet.TelnetCMD(credentials[0])
telnet_conn.login(telnet_conn.randstr(30), credentials[2], timeout=5)
评论列表
文章目录