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:
parent
e8e0d9c4e8
commit
e3d23aa5ad
1 changed files with 4 additions and 5 deletions
|
|
@ -751,11 +751,10 @@ func TestManifestExtraRepo(t *testing.T) {
|
||||||
err = exec.Command("createrepo_c", localRepoDir).Run()
|
err = exec.Command("createrepo_c", localRepoDir).Run()
|
||||||
assert.NoError(t, err)
|
assert.NoError(t, err)
|
||||||
|
|
||||||
pkgHelloBlueprint := `{
|
pkgHelloBlueprint := `
|
||||||
"packages": [
|
[[packages]]
|
||||||
{"name":"dummy"}
|
name = "dummy"
|
||||||
]
|
`
|
||||||
}`
|
|
||||||
restore := main.MockOsArgs([]string{
|
restore := main.MockOsArgs([]string{
|
||||||
"manifest",
|
"manifest",
|
||||||
"qcow2",
|
"qcow2",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue