github.com/cloud-green/juju@v0.0.0-20151002100041-a00291338d3d/cmd/juju/storage/storage_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 expectedSubCommmandNames = []string{ 13 "add", 14 "filesystem", 15 "help", 16 "list", 17 "pool", 18 "show", 19 "volume", 20 } 21 22 type storageSuite struct { 23 HelpStorageSuite 24 } 25 26 var _ = gc.Suite(&storageSuite{}) 27 28 func (s *storageSuite) TestHelp(c *gc.C) { 29 s.command = storage.NewSuperCommand() 30 s.assertHelp(c, expectedSubCommmandNames) 31 }