github.com/makyo/juju@v0.0.0-20160425123129-2608902037e9/provider/gce/google/auth_test.go (about)

     1  // Copyright 2014 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  package google
     5  
     6  import (
     7  	jc "github.com/juju/testing/checkers"
     8  	gc "gopkg.in/check.v1"
     9  )
    10  
    11  type authSuite struct {
    12  	BaseSuite
    13  }
    14  
    15  var _ = gc.Suite(&authSuite{})
    16  
    17  func (s *authSuite) TestNewConnection(c *gc.C) {
    18  	_, err := newConnection(s.Credentials)
    19  	c.Assert(err, jc.ErrorIsNil)
    20  }