test/osbuild: check devices, mounts schema

Also check that the schema is valid for devices and mounts.
This commit is contained in:
Christian Kellner 2021-12-17 14:06:10 +01:00 committed by Tom Gundersen
parent e3515caf01
commit 94e9f62f63

View file

@ -264,7 +264,7 @@ class TestDescriptions(unittest.TestCase):
index = osbuild.meta.Index(os.curdir)
modules = []
for klass in ("Assembler", "Input", "Source", "Stage"):
for klass in ("Assembler", "Device", "Input", "Mount", "Source", "Stage"):
mods = index.list_modules_for_class(klass)
modules += [(klass, module) for module in mods]