Skip to content

Commit

Permalink
Fix stdout for test_validate_invalid_ocp_version_failure
Browse files Browse the repository at this point in the history
  • Loading branch information
yashvardhannanavati committed Feb 13, 2024
1 parent c3d6a83 commit 1b2b5d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfiles/ci/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 1b2b5d5

Please sign in to comment.