Skip to content

Commit 6c46e76

Browse files
committed
Remove unnecessary key exchange unit test
1 parent 0b9e5b6 commit 6c46e76

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tests/test_kex.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -421,11 +421,6 @@ async def test_gss_errors(self):
421421
with self.assertRaises(asyncssh.ProtocolError):
422422
await server_conn.process_packet(Byte(MSG_KEXGSS_HOSTKEY))
423423

424-
with self.subTest('Host key sent twice to client'):
425-
with self.assertRaises(asyncssh.ProtocolError):
426-
await client_conn.process_packet(Byte(MSG_KEXGSS_HOSTKEY))
427-
await client_conn.process_packet(Byte(MSG_KEXGSS_HOSTKEY))
428-
429424
with self.subTest('Complete sent to server'):
430425
with self.assertRaises(asyncssh.ProtocolError):
431426
await server_conn.process_packet(Byte(MSG_KEXGSS_COMPLETE))

0 commit comments

Comments
 (0)