func (s *S) SetUpSuite(c *gocheck.C) { testServer.Start() auth := aws.Auth{AccessKey: "abc", SecretKey: "123"} s.sns = sns.New(auth, aws.Region{SNSEndpoint: testServer.URL}) }
func (s *S) SetUpSuite(c *C) { testServer.Start() auth := aws.NewAuth("abc", "123", "", time.Time{}) s.sns = sns.New(auth, aws.Region{SNSEndpoint: testServer.URL}) }