1//go:build go1.7 && integration 2// +build go1.7,integration 3 4package lexmodelsv2 5 6import ( 7 "testing" 8 9 "github.com/aws/aws-sdk-go/awstesting/integration" 10) 11 12func TestInteg_ListBots(t *testing.T) { 13 sess := integration.SessionWithDefaultRegion("us-west-2") 14 15 client := New(sess) 16 17 _, err := client.ListBots(&ListBotsInput{}) 18 if err != nil { 19 t.Fatalf("expect API call, got %v", err) 20 } 21} 22