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

« back to all changes in this revision

Viewing changes to src/github.com/juju/juju/provider/gce/environ_broker_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:
146
146
}
147
147
 
148
148
func (s *environBrokerSuite) TestGetMetadataOSNotSupported(c *gc.C) {
149
 
        metadata, err := gce.GetMetadata(s.StartInstArgs, jujuos.Arch)
 
149
        metadata, err := gce.GetMetadata(s.StartInstArgs, jujuos.GenericLinux)
150
150
 
151
151
        c.Assert(metadata, gc.IsNil)
152
 
        c.Assert(err, gc.ErrorMatches, "cannot pack metadata for os Arch on the gce provider")
 
152
        c.Assert(err, gc.ErrorMatches, "cannot pack metadata for os GenericLinux on the gce provider")
153
153
}
154
154
 
155
155
var getDisksTests = []struct {