1
0
Fork 0
mirror of https://github.com/Luzifer/mondash.git synced 2024-11-13 01:42:41 +00:00
mondash/vendor/github.com/aws/aws-sdk-go/awstesting/unit/unit.go

14 lines
442 B
Go
Raw Normal View History

// Package unit performs initialization and validation for unit tests
package unit
import (
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/credentials"
"github.com/aws/aws-sdk-go/aws/session"
)
// Session is a shared session for unit tests to use.
var Session = session.Must(session.NewSession(aws.NewConfig().
WithCredentials(credentials.NewStaticCredentials("AKID", "SECRET", "SESSION")).
WithRegion("mock-region")))