mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
uitests: Make hotplug test pass on both f37 and f38
Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
@@ -471,11 +471,15 @@ def _testLiveHotplug(app, fname):
|
|||||||
lib.utils.check(lambda: tab.showing)
|
lib.utils.check(lambda: tab.showing)
|
||||||
entry.set_text(fname)
|
entry.set_text(fname)
|
||||||
appl.click()
|
appl.click()
|
||||||
# F38 CDROM change is broken:
|
|
||||||
# https://gitlab.com/qemu-project/qemu/-/issues/933
|
|
||||||
# pylint: disable=unreachable
|
# pylint: disable=unreachable
|
||||||
app.click_alert_button("changes will take effect", "OK")
|
import dogtail.tree
|
||||||
return
|
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: not appl.sensitive)
|
||||||
lib.utils.check(lambda: entry.text == fname)
|
lib.utils.check(lambda: entry.text == fname)
|
||||||
|
|||||||
Reference in New Issue
Block a user