Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:bmwiedemann:reproducible:distribution:ring1
virt-manager
040-uitests-Make-hotplug-test-pass-on-both-f37-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 040-uitests-Make-hotplug-test-pass-on-both-f37-and-f38.patch of Package virt-manager
Subject: uitests: Make hotplug test pass on both f37 and f38 From: Cole Robinson crobinso@redhat.com Sat May 6 13:13:22 2023 -0400 Date: Sat May 6 19:43:24 2023 -0400: Git: 75422ec75efe254beb8dc85f75715d71fa3ec859 Signed-off-by: Cole Robinson <crobinso@redhat.com> diff --git a/tests/uitests/test_livetests.py b/tests/uitests/test_livetests.py index 72a96a10..55c9066b 100644 --- a/tests/uitests/test_livetests.py +++ b/tests/uitests/test_livetests.py @@ -471,11 +471,15 @@ def _testLiveHotplug(app, fname): lib.utils.check(lambda: tab.showing) entry.set_text(fname) appl.click() - # F38 CDROM change is broken: - # https://gitlab.com/qemu-project/qemu/-/issues/933 # pylint: disable=unreachable - app.click_alert_button("changes will take effect", "OK") - return + import dogtail.tree + try: + # F38 CDROM change is broken: + # https://gitlab.com/qemu-project/qemu/-/issues/933 + app.click_alert_button("changes will take effect", "OK") + return + except dogtail.tree.SearchError: + pass lib.utils.check(lambda: not appl.sensitive) lib.utils.check(lambda: entry.text == fname)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor