From 8cefd8b216065740eccce7d125ee0b916e3b9705 Mon Sep 17 00:00:00 2001 From: libhe Date: Sat, 26 Oct 2024 00:07:50 +0800 Subject: [PATCH] remove expect_ret=0 when check if python3 exist. --- os_tests/tests/test_rhel_guest_image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os_tests/tests/test_rhel_guest_image.py b/os_tests/tests/test_rhel_guest_image.py index 81604a57..50d971d4 100644 --- a/os_tests/tests/test_rhel_guest_image.py +++ b/os_tests/tests/test_rhel_guest_image.py @@ -539,7 +539,7 @@ def test_check_files_controlled_by_rpm(self): self.SSH.put_file(local_file=src_path, rmt_file=dest_path) utils_lib.is_pkg_installed(self,"python3") cmd = "python3 --version" - ret = utils_lib.run_cmd(self, cmd, expect_ret=0, msg="Check if python3 exist") + ret = utils_lib.run_cmd(self, cmd, msg="Check if python3 exist") print(f"python3 version check output: {ret}") if ret.strip() and "Python" in ret: print("python3 found; running rogue.py with python3.")