File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 11Added a ``pylibsshext.session.connect() `` parameter
22``timeout_usec `` to set ``SSH_OPTIONS_TIMEOUT_USEC ``.
3+
34This allows setting the ``SSH_OPTIONS_TIMEOUT_USEC ``
45ssh option, though ``SSH_OPTIONS_TIMEOUT `` is a more
56practical option.
Original file line number Diff line number Diff line change @@ -38,9 +38,9 @@ def ssh_channel(ssh_client_session):
3838def test_open_session_timeout (ssh_session_connect ):
3939 """Test opening a new channel with a low timeout value.
4040
41- This generates an exception from ssh_channel_open_session()
42- returning SSH_AGAIN with the usec timeout and default
43- open_session_retries value of 0 .
41+ This generates an exception from `` ssh_channel_open_session()``
42+ returning `` SSH_AGAIN`` with the `` usec`` timeout and default
43+ `` open_session_retries`` value of ``0`` .
4444 """
4545 ssh_session = Session ()
4646 ssh_session_connect (ssh_session )
@@ -54,8 +54,8 @@ def test_open_session_timeout(ssh_session_connect):
5454def test_open_session_with_retries (ssh_session_connect_retries ):
5555 """Test with a low timeout value and retries set.
5656
57- This sets ' open_session_retries=10' and with the retries
58- ssh_channel_open_session() will succeed.
57+ This sets `` open_session_retries=10`` and with the retries
58+ `` ssh_channel_open_session()`` will succeed.
5959 """
6060 ssh_session = Session ()
6161 ssh_session_connect_retries (ssh_session )
You can’t perform that action at this time.
0 commit comments