func (s *S) SetUpSuite(c *gocheck.C) { var err error testServer.Start() auth := aws.Auth{AccessKey: "abc", SecretKey: "123"} s.rds, err = rds.New(auth, aws.Region{RDSEndpoint: aws.ServiceInfo{testServer.URL, aws.V2Signature}}) c.Assert(err, gocheck.IsNil) }
func (s *S) SetUpSuite(c *C) { var err error testServer.Start() auth := aws.NewAuth("abc", "123", "", time.Time{}) s.rds, err = rds.New(auth, aws.Region{RDSEndpoint: aws.ServiceInfo{testServer.URL, aws.V2Signature}}) c.Assert(err, IsNil) }