func (s *LocalServerSuite) SetUpSuite(c *check.C) { s.srv.SetUp(c) s.ClientTests.iam = iam.New(s.srv.auth, s.srv.region) }
func (s *S) SetUpSuite(c *check.C) { testServer.Start() auth := aws.Auth{AccessKey: "abc", SecretKey: "123"} s.iam = iam.New(auth, aws.Region{IAMEndpoint: testServer.URL}) }