tests: osdict: Finish coverage

Requires libosinfo git which has a bug fix to help trigger
post install code in osdict.py

Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
Cole Robinson 2020-02-02 09:28:29 -05:00
parent f380d43e58
commit 1b6e33e8b9

View File

@ -112,6 +112,9 @@ class TestOSDB(unittest.TestCase):
self.assertFalse(win7.supports_unattended_drivers("fakearch"))
self.assertTrue(win7.get_pre_installable_drivers_location("x86_64"))
self.assertFalse(
OSDB.lookup_os("fedora10").supports_unattended_agents("x86_64"))
# Just call this for code coverage. Values differ by osinfo-db version
win7.get_post_installable_drivers_location("x86_64")