Exemple #1
0
func (s *DestroySuite) newDestroyCommand() cmd.Command {
	return system.NewDestroyCommand(s.api, s.clientapi, s.apierror)
}
Exemple #2
0
func (s *DestroySuite) runDestroyCommand(c *gc.C, args ...string) (*cmd.Context, error) {
	cmd := system.NewDestroyCommand(s.api, s.clientapi, s.apierror)
	return testing.RunCommand(c, cmd, args...)
}