Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion ci/integration_tests/test_channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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)
Expand Down