mirror of
https://github.com/hansjone/netx.git
synced 2026-10-08 23:33:21 +08:00
Improve WebCRT new-session flow for SecureCRT-like SSH/Telnet use.
Add quick-connect sessions with credential retry, raw interactive drivers, bootstrap banner replay, Huawei telnet prompt cleanup, and session rename/delete in the tree. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
accd28c9a1
commit
f6b399e03e
23 changed files with 3682 additions and 225 deletions
|
|
@ -33,6 +33,13 @@ class CliAuthClassifyTests(unittest.TestCase):
|
|||
msg = format_cli_failure(AuthenticationException("target_auth_rejected: Permission denied"))
|
||||
self.assertTrue(msg.startswith("auth_rejected:"))
|
||||
|
||||
def test_authentication_exception_empty_message(self):
|
||||
class AuthenticationException(Exception):
|
||||
pass
|
||||
|
||||
msg = format_cli_failure(AuthenticationException())
|
||||
self.assertTrue(msg.startswith("auth_rejected:"))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue