osbuild: introduce Manifest class

The 'Manifest' class represents what to build and the necessary
sources to do so. For now thus it is just a combination of the
pipeline the source options.
This commit is contained in:
Christian Kellner 2020-12-16 18:56:23 +01:00 committed by Tom Gundersen
parent acef7aa4a9
commit 945914b195
6 changed files with 26 additions and 9 deletions

View file

@ -32,7 +32,7 @@ class TestDescriptions(unittest.TestCase):
for pipeline in cases:
manifest = {"pipeline": pipeline}
with self.subTest(pipeline):
desc = fmt.describe(fmt.load(manifest))
desc = fmt.describe(fmt.load(manifest).pipeline)
self.assertEqual(desc, {})
@unittest.skipUnless(test.TestBase.can_bind_mount(), "root-only")