From 9930f6ebfbbd43b016ffcf65131b2b941f5077ba Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Fri, 29 May 2020 15:55:38 +0200 Subject: [PATCH] test/osbuild: check the schema of sources Add 'Source' to the list of module classes that will undergo basic schema checks, i.e. verify that their embedded schema data is valid JSON schema. --- test/test_osbuild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_osbuild.py b/test/test_osbuild.py index 0edd6675..56a5fb01 100644 --- a/test/test_osbuild.py +++ b/test/test_osbuild.py @@ -81,7 +81,7 @@ class TestDescriptions(unittest.TestCase): index = osbuild.meta.Index(os.curdir) modules = [] - for klass in ("Stage", "Assembler"): + for klass in ("Stage", "Assembler", "Source"): mods = index.list_modules_for_class(klass) modules += [(klass, module) for module in mods]