Beispiel #1
0
func (s *MySuite) SetUpTest(c *C) {
	utils.SetUpTestCommon()
	folder := os.Getenv("ELORA_STORAGE_FOLDER")
	s.StackFile = filepath.Join(folder, "elora.yml")
	s.Data = `web:
    image: ubuntu
`
	err := ioutil.WriteFile(s.StackFile, []byte(s.Data), 0644)
	if err != nil {
		log.Fatal(err)
	}
}
Beispiel #2
0
func (s *MySuite) SetUpTest(c *C) {
	utils.SetUpTestCommon()
}