From 6689e8116389717e2d7c432ec470d79bc47f5c3a Mon Sep 17 00:00:00 2001 From: Paolo Gentili Date: Wed, 15 Jan 2025 15:20:31 +0800 Subject: [PATCH] Fix: check_call --- .../testflinger_device_connectors/devices/zapper/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device-connectors/src/testflinger_device_connectors/devices/zapper/__init__.py b/device-connectors/src/testflinger_device_connectors/devices/zapper/__init__.py index fb7115cd..8639013a 100644 --- a/device-connectors/src/testflinger_device_connectors/devices/zapper/__init__.py +++ b/device-connectors/src/testflinger_device_connectors/devices/zapper/__init__.py @@ -131,7 +131,7 @@ def _copy_ssh_id(self): "UserKnownHostsFile=/dev/null", f"{test_username}@{self.config['device_ip']}", ] - subprocess.check_output(cmd, stderr=subprocess.STDOUT, timeout=60) + subprocess.check_call(cmd, timeout=60) @abstractmethod def _post_run_actions(self, args):