From 85e647fae16ad83d04d7327a50107caf0b4c6471 Mon Sep 17 00:00:00 2001 From: Artem Kotik Date: Fri, 29 Sep 2023 20:32:26 +0400 Subject: [PATCH] Fix tests --- tests/test_compliance.py | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/tests/test_compliance.py b/tests/test_compliance.py index a011460..8dc8a5c 100644 --- a/tests/test_compliance.py +++ b/tests/test_compliance.py @@ -90,6 +90,42 @@ def test_devicedataclass_to_scrapli(devicedataclass_data: "DeviceDataClassData") "platform": devicedataclass_data.platform, "auth_strict_key": devicedataclass_data.auth_strict_key, "transport": devicedataclass_data.transport, + "transport_options": { + "asyncssh": { + "kex_algs": [ + "curve25519-sha256", + "curve25519-sha256@libssh.org", + "curve448-sha512", + "ecdh-sha2-nistp521", + "ecdh-sha2-nistp384", + "ecdh-sha2-nistp256", + "ecdh-sha2-1.3.132.0.10", + "diffie-hellman-group-exchange-sha256", + "diffie-hellman-group14-sha256", + "diffie-hellman-group15-sha512", + "diffie-hellman-group16-sha512", + "diffie-hellman-group17-sha512", + "diffie-hellman-group18-sha512", + "diffie-hellman-group14-sha256@ssh.com", + "diffie-hellman-group14-sha1", + "rsa2048-sha256", + "diffie-hellman-group1-sha1", + "diffie-hellman-group-exchange-sha1", + "diffie-hellman-group-exchange-sha256", + ], + "encryption_algs": [ + "aes256-cbc", + "aes192-cbc", + "aes128-cbc", + "3des-cbc", + "aes256-ctr", + "aes192-ctr", + "aes128-ctr", + "aes128-gcm@openssh.com", + "chacha20-poly1305@openssh.com", + ], + }, + }, }