github.com/axw/juju@v0.0.0-20161005053422-4bd6544d08d4/cmd/juju/romulus/updateallocation/export_test.go (about) 1 // Copyright 2016 Canonical Ltd. 2 // Licensed under the AGPLv3, see LICENCE file for details. 3 4 package updateallocation 5 6 import ( 7 "github.com/juju/cmd" 8 "github.com/juju/juju/cmd/modelcmd" 9 "github.com/juju/juju/jujuclient" 10 ) 11 12 func NewUpdateAllocateCommandForTest(api apiClient, store jujuclient.ClientStore) cmd.Command { 13 c := &updateAllocationCommand{api: api} 14 c.SetClientStore(store) 15 return modelcmd.Wrap(c) 16 }