Skip to content

Commit b635a94

Browse files
author
Dan
committed
Updated test for client timeout handling
1 parent 777abcf commit b635a94

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/test_pssh_client.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,9 @@ def test_pssh_client_timeout(self):
221221
raise server.exception
222222
except gevent.Timeout:
223223
pass
224-
del client
225-
server.kill()
224+
finally:
225+
del client
226+
server.kill()
226227

227228
def test_pssh_client_run_command_password(self):
228229
"""Test password authentication. Embedded server accepts any password

0 commit comments

Comments
 (0)