test: fix missing conversion of a test blueprint to toml

This commit fixes the issue that a test blueprint was not converted
from json to TOML. This was not caught in CI apparently because
our test container misses createrepo_c.
This commit is contained in:
Michael Vogt 2025-04-10 10:39:56 +02:00
parent e8e0d9c4e8
commit e3d23aa5ad

View file

@ -751,11 +751,10 @@ func TestManifestExtraRepo(t *testing.T) {
err = exec.Command("createrepo_c", localRepoDir).Run()
assert.NoError(t, err)
pkgHelloBlueprint := `{
"packages": [
{"name":"dummy"}
]
}`
pkgHelloBlueprint := `
[[packages]]
name = "dummy"
`
restore := main.MockOsArgs([]string{
"manifest",
"qcow2",