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.
This commit is contained in:
Christian Kellner 2020-05-29 15:55:38 +02:00 committed by David Rheinsberg
parent bdae02a6b5
commit 9930f6ebfb

View file

@ -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]