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:
parent
acef7aa4a9
commit
945914b195
6 changed files with 26 additions and 9 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue