From 8625b420c553bbbcbd8afc72b3ffe47bee6d480b Mon Sep 17 00:00:00 2001 From: Chuck McAndrew <6248903+dcmcand@users.noreply.github.com> Date: Wed, 13 Nov 2024 16:17:12 +0100 Subject: [PATCH] update tests --- tests/tests_deployment/test_jupyterhub_ssh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tests_deployment/test_jupyterhub_ssh.py b/tests/tests_deployment/test_jupyterhub_ssh.py index a304d89f7..d0c06f278 100644 --- a/tests/tests_deployment/test_jupyterhub_ssh.py +++ b/tests/tests_deployment/test_jupyterhub_ssh.py @@ -62,7 +62,7 @@ def paramiko_object(jupyterhub_access_token): def run_command(command, channel): _in, _out, _err = channel.exec_command(command) - return _out.decode("utf-8") + return _out.read().decode("utf-8").strip() # delimiter = uuid.uuid4().hex # channel.send(f"echo {delimiter}start; {command}; echo {delimiter}end\n")