Beispiel #1
0
func (s *S) TearDownSuite(c *gocheck.C) {
	coll := collection()
	defer coll.Close()
	err := coll.Database.DropDatabase()
	c.Assert(err, gocheck.IsNil)
	fsystem = nil
	tTesting.RollbackTargetFile(s.targetRecover)
}
Beispiel #2
0
func (s *S) TearDownSuite(c *gocheck.C) {
	coll := collection()
	defer coll.Close()
	err := coll.Database.DropDatabase()
	c.Assert(err, gocheck.IsNil)
	fsystem = nil
	tTesting.RollbackTargetFile(s.targetRecover)
	s.storage.Apps().Database.DropDatabase()
	s.storage.Close()
	app.Provisioner = s.oldProvisioner
}
Beispiel #3
0
func (s *S) TearDownSuite(c *gocheck.C) {
	tTesting.RollbackTargetFile(s.recover)
}