From 8718d1cba6d3d3b76b8c815b9b7d929d4b4a17f4 Mon Sep 17 00:00:00 2001 From: Pedro Avalos Jimenez Date: Thu, 12 Dec 2024 10:52:32 -0500 Subject: [PATCH] Fix test_run_ignore_errors --- checkbox-support/checkbox_support/tests/test_lxd_support.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/checkbox-support/checkbox_support/tests/test_lxd_support.py b/checkbox-support/checkbox_support/tests/test_lxd_support.py index 00b39d2b01..68aaac5e60 100644 --- a/checkbox-support/checkbox_support/tests/test_lxd_support.py +++ b/checkbox-support/checkbox_support/tests/test_lxd_support.py @@ -134,6 +134,9 @@ def test_run_ignore_errors(self, run_mock, logging_mock): LXD.run(self_mock, "ip a", ignore_errors=True) run_mock.assert_called_with( ["ip", "a"], + stdout=subprocess.PIPE, + timeout=None, + check=True, stderr=subprocess.STDOUT, stdin=subprocess.DEVNULL, universal_newlines=True,