func (s *StorageSuite) SetUpTest(c *C) { storage, err := NewStorage(os.New(c.MkDir())) c.Assert(err, IsNil) s.BaseStorageSuite = test.NewBaseStorageSuite(storage) }
func (s *StorageSuite) SetUpTest(c *C) { s.BaseStorageSuite = test.NewBaseStorageSuite(NewStorage()) }