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

« back to all changes in this revision

Viewing changes to src/github.com/juju/juju/environs/tools/simplestreams_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:
21
21
        jc "github.com/juju/testing/checkers"
22
22
        "github.com/juju/utils"
23
23
        "github.com/juju/utils/series"
 
24
        "github.com/juju/version"
24
25
        "gopkg.in/amz.v3/aws"
25
26
        gc "gopkg.in/check.v1"
26
27
 
33
34
        "github.com/juju/juju/juju"
34
35
        coretesting "github.com/juju/juju/testing"
35
36
        coretools "github.com/juju/juju/tools"
36
 
        "github.com/juju/juju/version"
37
37
)
38
38
 
39
39
var live = flag.Bool("live", false, "Include live simplestreams tests")
1023
1023
}
1024
1024
 
1025
1025
func (s *signedSuite) SetUpSuite(c *gc.C) {
 
1026
        s.BaseSuite.SetUpSuite(c)
1026
1027
        var imageData = map[string]string{
1027
1028
                "/unsigned/streams/v1/index.json":          unsignedIndex,
1028
1029
                "/unsigned/streams/v1/tools_metadata.json": unsignedProduct,
1053
1054
 
1054
1055
func (s *signedSuite) TearDownSuite(c *gc.C) {
1055
1056
        sstesting.SetRoundTripperFiles(nil, nil)
 
1057
        s.BaseSuite.TearDownSuite(c)
1056
1058
}
1057
1059
 
1058
1060
func (s *signedSuite) TestSignedToolsMetadata(c *gc.C) {