From 1b2b5d510015128e27328eebd165d0b90197bd14 Mon Sep 17 00:00:00 2001 From: Yashvardhan Nanavati Date: Mon, 12 Feb 2024 22:49:13 -0500 Subject: [PATCH] Fix stdout for test_validate_invalid_ocp_version_failure --- Dockerfiles/ci/run_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfiles/ci/run_tests.py b/Dockerfiles/ci/run_tests.py index cbd0068d..173c625a 100755 --- a/Dockerfiles/ci/run_tests.py +++ b/Dockerfiles/ci/run_tests.py @@ -163,7 +163,7 @@ def test_validate_invalid_ocp_version_failure(self): playbook_command = subprocess.run(exec_cmd, shell=True, capture_output=True) print(playbook_command.returncode) self.assertTrue(playbook_command.returncode == 2) - self.assertIn("Invalid semver in ocpfournine", playbook_command.stdout.decode("utf-8")) + self.assertIn("Invalid OCP version: ocpfournine", playbook_command.stdout.decode("utf-8")) self.assertIn("Error collecting OCP version range from Pyxis", playbook_command.stdout.decode("utf-8")) def test_extract_operator_bundle_no_subscription(self):