mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-03-20 22:50:16 +03:00
tests: Fix test skipping with old osinfo-db
Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
48f66f27fd
commit
280c30736f
@ -119,7 +119,8 @@ def no_osinfo_unattended_win_drivers_cb():
|
||||
|
||||
def no_osinfo_linux2020_virtio():
|
||||
linux2020 = OSDB.lookup_os("linux2020")
|
||||
return not linux2020 or not linux2020.supports_virtiogpu()
|
||||
if not linux2020 or not linux2020.supports_virtiogpu():
|
||||
return "osinfo is too old: missing linux2020 with virtio-gpu"
|
||||
|
||||
|
||||
######################
|
||||
|
Loading…
x
Reference in New Issue
Block a user