TestBuilderPrepare_ISOChecksumType: set config["switch_name"] = "switch" to avoid using builder.detectSwitchName which can lock down in CI mode

This commit is contained in:
Adrien Delorme 2018-10-17 12:09:24 +02:00
parent 5fe672d7c4
commit af3b818de0
1 changed files with 1 additions and 0 deletions

View File

@ -231,6 +231,7 @@ func TestBuilderPrepare_ISOChecksumType(t *testing.T) {
// Test good
config["iso_checksum_type"] = "mD5"
config["switch_name"] = "switch" // to avoid using builder.detectSwitchName which can lock down in CI mode
b = Builder{}
warns, err = b.Prepare(config)
if len(warns) > 0 {