formats: load function takes combined manifest
Instead of having the pipeline and the source option as separate arguments, the load function now takes the full manifest, which has those two items combined.
This commit is contained in:
parent
0b6f36158d
commit
a13783f67b
4 changed files with 17 additions and 12 deletions
|
|
@ -30,8 +30,9 @@ class TestDescriptions(unittest.TestCase):
|
|||
{"build": None}
|
||||
]
|
||||
for pipeline in cases:
|
||||
manifest = {"pipeline": pipeline}
|
||||
with self.subTest(pipeline):
|
||||
self.assertEqual(fmt.load(pipeline, {}).description(), {})
|
||||
self.assertEqual(fmt.load(manifest).description(), {})
|
||||
|
||||
def test_stage(self):
|
||||
name = "org.osbuild.test"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue