func (s *KillSuite) TestFmtControllerStatus(c *gc.C) { data := controller.CtrData{ 3, 20, 8, } out := controller.FmtCtrStatus(data) c.Assert(out, gc.Equals, "Waiting on 3 models, 20 machines, 8 services") }
func (s *KillSuite) TestFmtControllerStatus(c *gc.C) { data := controller.CtrData{ "uuid", string(params.Alive), 3, 20, 8, } out := controller.FmtCtrStatus(data) c.Assert(out, gc.Equals, "Waiting on 3 models, 20 machines, 8 applications") }