Skip to content

Commit

Permalink
Fix aws-py-s3-folder test (pulumi#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
swgillespie committed Apr 5, 2019
1 parent 5bfd4ed commit e29c346
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions misc/test/examples_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"net/http"
"os"
"path"
"path/filepath"
"strings"
"testing"
"time"
Expand Down Expand Up @@ -75,7 +76,7 @@ func TestExamples(t *testing.T) {
"aws:region": awsRegion,
},
ExtraRuntimeValidation: func(t *testing.T, stack integration.RuntimeValidationStackInfo) {
assertHTTPResult(t, "http:https://"+stack.Outputs["websiteUrl"].(string), func(body string) bool {
assertHTTPResult(t, "http:https://"+stack.Outputs["website_url"].(string), func(body string) bool {
return assert.Contains(t, body, "Hello, Pulumi!")
})
},
Expand Down Expand Up @@ -417,7 +418,7 @@ func TestExamples(t *testing.T) {

for _, ex := range tests {
example := ex
t.Run(example.Dir, func(t *testing.T) {
t.Run(filepath.Base(example.Dir), func(t *testing.T) {
integration.ProgramTest(t, &example)
})
}
Expand Down

0 comments on commit e29c346

Please sign in to comment.