diff options
author | Cole Robinson <crobinso@redhat.com> | 2022-06-18 17:15:11 -0400 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2022-06-18 17:42:44 -0400 |
commit | 280c30736fc5e20204b09a6034d10ab0efbadff7 (patch) | |
tree | 154950caa3eb68a3b2a7859159dc1f509ded876f /tests | |
parent | 48f66f27fd8ca4694b2dd9f17602db857a924083 (diff) | |
download | virt-manager-280c30736fc5e20204b09a6034d10ab0efbadff7.tar.gz |
tests: Fix test skipping with old osinfo-db
Signed-off-by: Cole Robinson <crobinso@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_cli.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_cli.py b/tests/test_cli.py index 7b708f0f..19399452 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -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" ###################### |