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

[6.15.z] [Test Fix] test_negative_generate_hostpkgcompare_nonexistent_host #14079

Conversation

Satellite-QE
Copy link
Collaborator

Cherrypick of PR: #14068

Problem Statement

test_negative_generate_hostpkgcompare_nonexistent_host is failing due to our of date attributes in assertion

Solution

Change cm.exeption.stderr to cm.value.stderr

…4068)

Updating Assertion for test fix

(cherry picked from commit 51ad778)
@Satellite-QE Satellite-QE requested a review from a team as a code owner February 14, 2024 16:07
@Satellite-QE Satellite-QE added 6.15.z Introduced in or relating directly to Satellite 6.15 Auto_Cherry_Picked Automatically cherrypicked PR using GHA No-CherryPick PR doesnt need CherryPick to previous branches labels Feb 14, 2024
@Satellite-QE
Copy link
Collaborator Author

trigger: test-robottelo
pytest: tests/foreman/cli/test_reporttemplates.py::test_negative_generate_hostpkgcompare_nonexistent_host

@Satellite-QE
Copy link
Collaborator Author

PRT Result

Build Number: 5722
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/cli/test_reporttemplates.py::test_negative_generate_hostpkgcompare_nonexistent_host
Test Result : ================== 1 passed, 11 warnings in 681.66s (0:11:21) ==================

@Satellite-QE Satellite-QE added the PRT-Passed Indicates that latest PRT run is passed for the PR label Feb 14, 2024
@Gauravtalreja1 Gauravtalreja1 merged commit 4de97c7 into 6.15.z Feb 14, 2024
14 checks passed
@Gauravtalreja1 Gauravtalreja1 deleted the cherry-pick-6.15.z-51ad778640dbc34487eb447f7386478e583d2456 branch February 14, 2024 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.15.z Introduced in or relating directly to Satellite 6.15 Auto_Cherry_Picked Automatically cherrypicked PR using GHA No-CherryPick PR doesnt need CherryPick to previous branches PRT-Passed Indicates that latest PRT run is passed for the PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants