~juju-qa/ubuntu/xenial/juju/xenial-2.0-beta3

« back to all changes in this revision

Viewing changes to src/github.com/juju/juju/cmd/juju/storage/storage_test.go

  • Committer: Martin Packman
  • Date: 2016-03-30 19:31:08 UTC
  • mfrom: (1.1.41)
  • Revision ID: martin.packman@canonical.com-20160330193108-h9iz3ak334uk0z5r
Merge new upstream source 2.0~beta3

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
 
}