github.com/cloud-green/juju@v0.0.0-20151002100041-a00291338d3d/cmd/juju/storage/pool_test.go (about)

     1  // Copyright 2015 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  package storage_test
     5  
     6  import (
     7  	gc "gopkg.in/check.v1"
     8  
     9  	"github.com/juju/juju/cmd/juju/storage"
    10  )
    11  
    12  var expectedPoolCommmandNames = []string{
    13  	"create",
    14  	"help",
    15  	"list",
    16  }
    17  
    18  type poolSuite struct {
    19  	HelpStorageSuite
    20  }
    21  
    22  var _ = gc.Suite(&poolSuite{})
    23  
    24  func (s *poolSuite) TestPoolHelp(c *gc.C) {
    25  	s.command = storage.NewPoolSuperCommand()
    26  	s.assertHelp(c, expectedPoolCommmandNames)
    27  }