Пример #1
0
func (s *S) TearDownSuite(c *gocheck.C) {
	s.conn.Apps().Database.DropDatabase()
	queue.Preempt()
}
Пример #2
0
func (s *ELBSuite) TearDownSuite(c *gocheck.C) {
	config.Unset("juju:use-elb")
	s.conn.Collection("juju_units_test_elb").Database.DropDatabase()
	s.server.Quit()
	queue.Preempt()
}
Пример #3
0
func (s *S) TearDownSuite(c *gocheck.C) {
	queue.Preempt()
	s.conn.Collection(s.collName).Database.DropDatabase()
	s.conn.Collection("juju_bootstrap_test").Database.DropDatabase()
}