client.go 453 B

12345678910111213141516171819
  1. // +build integration
  2. //Package efs provides gucumber integration tests support.
  3. package efs
  4. import (
  5. "github.com/aws/aws-sdk-go/aws"
  6. "github.com/aws/aws-sdk-go/awstesting/integration/smoke"
  7. "github.com/aws/aws-sdk-go/service/efs"
  8. "github.com/gucumber/gucumber"
  9. )
  10. func init() {
  11. gucumber.Before("@efs", func() {
  12. // FIXME remove custom region
  13. gucumber.World["client"] = efs.New(smoke.Session,
  14. aws.NewConfig().WithRegion("us-west-2"))
  15. })
  16. }