예제 #1
0
func (s *StorageSuite) SetUpTest(c *C) {
	storage, err := NewStorage(os.New(c.MkDir()))
	c.Assert(err, IsNil)

	s.BaseStorageSuite = test.NewBaseStorageSuite(storage)
}
예제 #2
0
func (s *StorageSuite) SetUpTest(c *C) {
	s.BaseStorageSuite = test.NewBaseStorageSuite(NewStorage())
}