File 034-tests-uitests-handle-linux2020-going-EOL.patch of Package virt-manager

Subject: tests: uitests: handle linux2020 going EOL
From: Cole Robinson crobinso@redhat.com Mon Mar 3 10:38:22 2025 -0500
Date: Mon Mar 3 10:39:12 2025 -0500:
Git: 6f188482b2e2e1c2d3ee1658b81fdd95bd497897

Signed-off-by: Cole Robinson <crobinso@redhat.com>

diff --git a/tests/uitests/test_createvm.py b/tests/uitests/test_createvm.py
index 1242a0473..053a94066 100644
--- a/tests/uitests/test_createvm.py
+++ b/tests/uitests/test_createvm.py
@@ -464,7 +464,8 @@ def testNewKVMQ35Tweaks(app):
     newvm.find("import-entry").set_text("/pool-dir/testvol1.img")
     newvm.find("oslist-entry").set_text("fribfrob")
     popover = newvm.find("oslist-popover")
-    popover.find_fuzzy("linux2020").click()
+    osname = "linux2022"
+    popover.find_fuzzy(osname).click()
     _forward(newvm)
     _forward(newvm)
 
@@ -472,7 +473,7 @@ def testNewKVMQ35Tweaks(app):
     # hit some code paths elsewhere
     newvm.find_fuzzy("Customize", "check").click()
     newvm.find_fuzzy("Finish", "button").click()
-    vmname = "linux2020"
+    vmname = osname
     details = app.find_details_window(vmname)
     appl = details.find("config-apply")
 
openSUSE Build Service is sponsored by