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] Fix content_facet_attributes attributes #14472

Conversation

Satellite-QE
Copy link
Collaborator

Cherrypick of PR: #14224

i.e.
['content_view_id'] is now a separate dict
['content_view']['id']

Problem Statement

tests/foreman/api/test_host.py::test_positive_create_and_update_with_content_view
tests/foreman/api/test_host.py::test_positive_create_inherit_lce_cv

tests are failing for foreman 3.9 (6.15.z) because *_id keys are not found

Solution

access id as key from parent dict

Related Issues

@Satellite-QE Satellite-QE requested a review from a team as a code owner March 21, 2024 09:47
@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 Mar 21, 2024
@Satellite-QE
Copy link
Collaborator Author

trigger: test-robottelo
pytest: tests/foreman/api/test_host.py::test_positive_create_inherit_lce_cv tests/foreman/api/test_host.py::test_positive_create_and_update_with_content_view

@Gauravtalreja1 Gauravtalreja1 enabled auto-merge (squash) March 21, 2024 09:58
@Satellite-QE
Copy link
Collaborator Author

PRT Result

Build Number: 6153
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/api/test_host.py::test_positive_create_inherit_lce_cv tests/foreman/api/test_host.py::test_positive_create_and_update_with_content_view --external-logging
Test Result : ================== 2 passed, 32 warnings in 751.89s (0:12:31) ==================

@Satellite-QE Satellite-QE added the PRT-Passed Indicates that latest PRT run is passed for the PR label Mar 21, 2024
@Gauravtalreja1 Gauravtalreja1 disabled auto-merge March 22, 2024 07:31
@Gauravtalreja1 Gauravtalreja1 merged commit 7a19934 into 6.15.z Mar 22, 2024
14 checks passed
@Gauravtalreja1 Gauravtalreja1 deleted the cherry-pick-6.15.z-b05da4ee3c6a046c22f73c41938d56f3fb556024 branch March 22, 2024 10:54
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.

4 participants