コード例 #1
0
func setSeriesTestData() {
	series.SetSeriesVersions(map[string]string{
		"trusty":      "14.04",
		"utopic":      "14.10",
		"win7":        "win7",
		"win81":       "win81",
		"win2016nano": "win2016nano",
		"centos7":     "centos7",
		"arch":        "rolling",
	})
}
コード例 #2
0
func (s *supportedSeriesSuite) SetUpTest(c *gc.C) {
	s.CleanupSuite.SetUpTest(c)
	cleanup := series.SetSeriesVersions(make(map[string]string))
	s.AddCleanup(func(*gc.C) { cleanup() })
}