diff --git a/ci/integration_tests/test_channel.py b/ci/integration_tests/test_channel.py index a3820ee..f442a0d 100644 --- a/ci/integration_tests/test_channel.py +++ b/ci/integration_tests/test_channel.py @@ -24,7 +24,7 @@ from ssh2.session import Session from ssh2.channel import Channel from ssh2.exceptions import SocketSendError -from ssh2.session import LIBSSH2_METHOD_COMP_CS, LIBSSH2_FLAG_COMPRESS +from ssh2.session import LIBSSH2_METHOD_COMP_CS, LIBSSH2_METHOD_COMP_SC, LIBSSH2_FLAG_COMPRESS from .base_test import SSH2TestCase @@ -222,6 +222,8 @@ def test_execute_with_session_compression(self): session.flag(LIBSSH2_FLAG_COMPRESS) algs = session.supported_algs(LIBSSH2_METHOD_COMP_CS) self.assertTrue('zlib' in algs) + algs = session.supported_algs(LIBSSH2_METHOD_COMP_SC) + self.assertTrue('zlib' in algs) session.handshake(sock) session.userauth_publickey_fromfile( self.user, self.user_key)