101
102
`"Channel":"testchannel",` +
102
103
`"RemoteTestbed":false,` +
107
109
ioutil.WriteFile(configFileName, []byte(configContents), 0644)
109
111
cfg, err := ReadConfig(configFileName)
111
testConfigStruct := NewConfig(configFileName, "testrelease", "testchannel", false, true, true)
113
testConfigStruct := &Config{configFileName, "testrelease", "testchannel", false, true, true, true}
113
115
c.Assert(err, check.IsNil, check.Commentf("Error reading config: %v", err))
114
116
c.Assert(cfg, check.DeepEquals, testConfigStruct)