def test_login_false_userpass_telnet(self, credentials):
"""Verify AuthenticationException in case Incorrect password for telnet object.
"""
telnet_conn = clitelnet.TelnetCMD(credentials[0])
with pytest.raises(CLIException):
telnet_conn = clitelnet.TelnetCMD(credentials[0])
telnet_conn.login(credentials[1], telnet_conn.randstr(30), timeout=5)
# Negative tests for nns module isn't implemented, because nns module always in 'login' mode
评论列表
文章目录