func (s *StoreSuite) SetUpTest(c *C) { s.LoggingSuite.SetUpTest(c) charm.CacheDir = c.MkDir() s.store = charm.NewStore("http://127.0.0.1:4444") s.server.downloads = nil }
func (s *StoreSuite) SetUpTest(c *C) { s.cache = c.MkDir() s.store = charm.NewStore("http://127.0.0.1:4444", s.cache) s.server.downloads = nil }