示例#1
0
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
}
示例#2
0
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
}