func (s *assignCleanSuite) assertMachineNotEmpty(c *gc.C, machine *state.Machine) { containers, err := machine.Containers() c.Assert(err, jc.ErrorIsNil) c.Assert(len(containers), gc.Not(gc.Equals), 0) }