func (s *SqsSimpleTestSuite) SetUpSuite(c *gocheck.C) { auth := aws.Auth{"abc", "123"} s.sqs = sqs.New(auth, aws.Region{SQSEndpoint: "http://sqs.us-east-1.amazonaws.com"}) qName := fmt.Sprintf("testqueue%v", time.Now()) fmt.Println(qName) }
func (s *BatchSuite) SetUpTest(c *C) { fmt.Println("setUp") auth := aws.Auth{"abc", "123"} s.sqs = sqs.New(auth, aws.Region{SQSEndpoint: "http://sqs.us-east-1.amazonaws.com"}) }