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 virtwho UI cases failed for _GeneratorContextManager object has no attribute virtwho_configure #13981

Merged

Conversation

yanpliu
Copy link
Contributor

@yanpliu yanpliu commented Feb 3, 2024

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.

@yanpliu yanpliu added CherryPick PR needs CherryPick to previous branches 6.13.z Introduced in or relating directly to Satellite 6.13 6.14.z Introduced in or relating directly to Satellite 6.14 6.15.z Introduced in or relating directly to Satellite 6.15 labels Feb 3, 2024
@yanpliu yanpliu self-assigned this Feb 3, 2024
@yanpliu yanpliu requested a review from a team as a code owner February 3, 2024 13:45
@omkarkhatavkar omkarkhatavkar merged commit 3ed6812 into SatelliteQE:master Feb 5, 2024
5 checks passed
github-actions bot pushed a commit that referenced this pull request Feb 5, 2024
…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)
github-actions bot pushed a commit that referenced this pull request Feb 5, 2024
…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)
github-actions bot pushed a commit that referenced this pull request Feb 5, 2024
…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)
Gauravtalreja1 pushed a commit that referenced this pull request Feb 5, 2024
…ect has no attribute virtwho_configure (#13983)

Fix virtwho UI cases failed for _GeneratorContextManager object has no attribute virtwho_configure (#13981)

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

* pre-check

(cherry picked from commit 3ed6812)

Co-authored-by: yanpliu <[email protected]>
Gauravtalreja1 pushed a commit that referenced this pull request Feb 5, 2024
…ect has no attribute virtwho_configure (#13985)

Fix virtwho UI cases failed for _GeneratorContextManager object has no attribute virtwho_configure (#13981)

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

* pre-check

(cherry picked from commit 3ed6812)

Co-authored-by: yanpliu <[email protected]>
Gauravtalreja1 pushed a commit that referenced this pull request Feb 5, 2024
…ect has no attribute virtwho_configure (#13984)

Fix virtwho UI cases failed for _GeneratorContextManager object has no attribute virtwho_configure (#13981)

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

* pre-check

(cherry picked from commit 3ed6812)

Co-authored-by: yanpliu <[email protected]>
@yanpliu yanpliu deleted the virtwho_configure_session_update branch February 26, 2024 07:54
shweta83 pushed a commit to shweta83/robottelo that referenced this pull request Apr 10, 2024
…o attribute virtwho_configure (SatelliteQE#13981)

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

* pre-check
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 6.14.z Introduced in or relating directly to Satellite 6.14 6.15.z Introduced in or relating directly to Satellite 6.15 CherryPick PR needs CherryPick to previous branches
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants