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

« back to all changes in this revision

Viewing changes to src/github.com/juju/juju/cmd/juju/model/export_test.go

  • Committer: Nicholas Skaggs
  • Date: 2016-09-30 14:39:30 UTC
  • mfrom: (1.8.1)
  • Revision ID: nicholas.skaggs@canonical.com-20160930143930-vwwhrefh6ftckccy
import upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
        return modelcmd.Wrap(cmd)
37
37
}
38
38
 
39
 
// NewUsersCommandForTest returns a UsersCommand with the api provided as specified.
40
 
func NewUsersCommandForTest(api UsersAPI, store jujuclient.ClientStore) cmd.Command {
41
 
        cmd := &usersCommand{api: api}
42
 
        cmd.SetClientStore(store)
43
 
        return modelcmd.Wrap(cmd)
44
 
}
45
 
 
46
39
// NewShowCommandForTest returns a ShowCommand with the api provided as specified.
47
40
func NewShowCommandForTest(api ShowModelAPI, store jujuclient.ClientStore) cmd.Command {
48
41
        cmd := &showModelCommand{api: api}