~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/pool_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 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
 
}