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