From 1b6e33e8b9ba6ff58ea51468d0ece12daa8fdf44 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Sun, 2 Feb 2020 09:28:29 -0500 Subject: [PATCH] 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 --- tests/test_osdict.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_osdict.py b/tests/test_osdict.py index 0127dbfe6..91536f53a 100644 --- a/tests/test_osdict.py +++ b/tests/test_osdict.py @@ -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")