terraform: more passing plan tests

This commit is contained in:
Mitchell Hashimoto 2015-02-11 17:51:56 -08:00
parent 2b917054da
commit 99eab4fd13
1 changed files with 5 additions and 3 deletions

View File

@ -3,7 +3,9 @@ package terraform
import ( import (
"fmt" "fmt"
"reflect" "reflect"
"sort"
"strings" "strings"
"sync"
"testing" "testing"
) )
@ -243,13 +245,12 @@ func TestContext2Plan_moduleOrphans(t *testing.T) {
} }
} }
/* func TestContext2Plan_moduleProviderInherit(t *testing.T) {
func TestContextPlan_moduleProviderInherit(t *testing.T) {
var l sync.Mutex var l sync.Mutex
var calls []string var calls []string
m := testModule(t, "plan-module-provider-inherit") m := testModule(t, "plan-module-provider-inherit")
ctx := testContext(t, &ContextOpts{ ctx := testContext2(t, &ContextOpts{
Module: m, Module: m,
Providers: map[string]ResourceProviderFactory{ Providers: map[string]ResourceProviderFactory{
"aws": func() (ResourceProvider, error) { "aws": func() (ResourceProvider, error) {
@ -290,6 +291,7 @@ func TestContextPlan_moduleProviderInherit(t *testing.T) {
} }
} }
/*
func TestContextPlan_moduleProviderDefaults(t *testing.T) { func TestContextPlan_moduleProviderDefaults(t *testing.T) {
var l sync.Mutex var l sync.Mutex
var calls []string var calls []string