func (s *S) TestPlans(c *check.C) { storage, err := Conn() c.Assert(err, check.IsNil) defer storage.Close() plans := storage.Plans() plansc := storage.Collection("plans") c.Assert(plans, check.DeepEquals, plansc) }
func (s *S) TestPools(c *check.C) { storage, err := Conn() c.Assert(err, check.IsNil) defer storage.Close() pools := storage.Pools() poolsc := storage.Collection("pool") c.Assert(pools, check.DeepEquals, poolsc) }