Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix stdout for test_validate_invalid_ocp_version_failure #459

Merged
merged 1 commit into from
Feb 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading