~rogpeppe/juju-core/387-use-testing-set

« back to all changes in this revision

Viewing changes to tools/list_test.go

  • Committer: Ian Booth
  • Date: 2013-08-21 05:38:38 UTC
  • mto: (1603.8.2 simplify-tools-search)
  • mto: This revision was merged to the branch mainline in revision 1702.
  • Revision ID: ian.booth@canonical.com-20130821053838-3c9oahds4mg2u0l7
Pull out Tools struct to its own package

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
import (
7
7
        gc "launchpad.net/gocheck"
8
8
 
9
 
        agenttools "launchpad.net/juju-core/agent/tools"
10
 
        "launchpad.net/juju-core/environs/tools"
 
9
        "launchpad.net/juju-core/tools"
11
10
        "launchpad.net/juju-core/version"
12
11
)
13
12
 
15
14
 
16
15
var _ = gc.Suite(&ListSuite{})
17
16
 
18
 
func mustParseTools(name string) *agenttools.Tools {
19
 
        return &agenttools.Tools{
 
17
func mustParseTools(name string) *tools.Tools {
 
18
        return &tools.Tools{
20
19
                Version: version.MustParseBinary(name),
21
20
                URL:     "http://testing.invalid/" + name,
22
21
        }