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.13.z] Fix virtwho UI cases failed for _GeneratorContextManager object has no attribute virtwho_configure #13983

Conversation

Satellite-QE
Copy link
Collaborator

Cherrypick of PR: #13981

UI cases failed for the error

    def virtwho_config_ui(form_data_ui, target_sat, org_session):
        name = gen_string('alpha')
        form_data_ui['name'] = name
        with org_session:
>           org_session.virtwho_configure.create(form_data_ui)
E           AttributeError: '_GeneratorContextManager' object has no attribute 'virtwho_configure'

pytest_fixtures/component/virtwho_config.py:262: AttributeError
_ ERROR at setup of TestVirtwhoConfigforLibvirt.test_positive_hypervisor_id_option _

Cases : PASS


(robottelo_vv_615) [virtwho@dell-per740-68-vm-04 robottelo]$ pytest  ./tests/foreman/virtwho/ui/test_hyperv.py --disable-pytest-warnings -q
...                                                                                                                                                                                                         [100%]
3 passed, 3 deselected, 29 warnings in 1242.08s (0:20:42)
2024-02-03 07:17:23 - robottelo - WARNING - missing grid_url or session_id. unable to clean video files.

(robottelo_vv_615) [virtwho@dell-per740-68-vm-04 robottelo]$ pytest  ./tests/foreman/virtwho/ui/test_hyperv_sca.py --disable-pytest-warnings -q
...                                                                                                                                                                                                         [100%]
3 passed, 3 deselected, 21 warnings in 731.53s (0:12:11)
2024-02-03 07:31:57 - robottelo - WARNING - missing grid_url or session_id. unable to clean video files.

…o attribute virtwho_configure (#13981)

* Fix virtwho UI cases failed for _GeneratorContextManager object has no attribute virtwho_configure

* pre-check

(cherry picked from commit 3ed6812)
@Satellite-QE Satellite-QE added 6.13.z Introduced in or relating directly to Satellite 6.13 Auto_Cherry_Picked Automatically cherrypicked PR using GHA No-CherryPick PR doesnt need CherryPick to previous branches labels Feb 5, 2024
@Gauravtalreja1 Gauravtalreja1 merged commit 2d1a4bb into 6.13.z Feb 5, 2024
17 checks passed
@Gauravtalreja1 Gauravtalreja1 deleted the cherry-pick-6.13.z-3ed68126955903e0f4e00d62bd9185dd5de0c97f branch February 5, 2024 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.13.z Introduced in or relating directly to Satellite 6.13 Auto_Cherry_Picked Automatically cherrypicked PR using GHA No-CherryPick PR doesnt need CherryPick to previous branches
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants