From e16aba63085215aa997ce6547cdc1a745577a783 Mon Sep 17 00:00:00 2001 From: Reuben Miller Date: Wed, 24 Jul 2024 21:16:38 +0200 Subject: [PATCH] improve remote access assertion error message Signed-off-by: Reuben Miller --- tests/RobotFramework/libraries/ThinEdgeIO/ThinEdgeIO.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/RobotFramework/libraries/ThinEdgeIO/ThinEdgeIO.py b/tests/RobotFramework/libraries/ThinEdgeIO/ThinEdgeIO.py index 17ed379c20f..08c79587939 100644 --- a/tests/RobotFramework/libraries/ThinEdgeIO/ThinEdgeIO.py +++ b/tests/RobotFramework/libraries/ThinEdgeIO/ThinEdgeIO.py @@ -841,10 +841,11 @@ def execute_remote_access_command( proc.wait(timeout) stdout = proc.stdout.read() + stderr = proc.stderr.read() if exp_exit_code is not None: assert ( proc.returncode == exp_exit_code - ), f"Failed to connect via remote access.\n{stdout}" + ), f"Failed to connect via remote access.\nstdout: <