terraform: more passing tests

This commit is contained in:
Mitchell Hashimoto 2015-02-11 22:46:47 -08:00
parent 10a216d85e
commit a2d278b284
1 changed files with 7 additions and 7 deletions

View File

@ -477,12 +477,11 @@ func TestContext2Plan_nil(t *testing.T) {
} }
} }
/* func TestContext2Plan_computed(t *testing.T) {
func TestContextPlan_computed(t *testing.T) {
m := testModule(t, "plan-computed") m := testModule(t, "plan-computed")
p := testProvider("aws") p := testProvider("aws")
p.DiffFn = testDiffFn p.DiffFn = testDiffFn
ctx := testContext(t, &ContextOpts{ ctx := testContext2(t, &ContextOpts{
Module: m, Module: m,
Providers: map[string]ResourceProviderFactory{ Providers: map[string]ResourceProviderFactory{
"aws": testProviderFuncFixed(p), "aws": testProviderFuncFixed(p),
@ -501,11 +500,11 @@ func TestContextPlan_computed(t *testing.T) {
} }
} }
func TestContextPlan_computedList(t *testing.T) { func TestContext2Plan_computedList(t *testing.T) {
m := testModule(t, "plan-computed-list") m := testModule(t, "plan-computed-list")
p := testProvider("aws") p := testProvider("aws")
p.DiffFn = testDiffFn p.DiffFn = testDiffFn
ctx := testContext(t, &ContextOpts{ ctx := testContext2(t, &ContextOpts{
Module: m, Module: m,
Providers: map[string]ResourceProviderFactory{ Providers: map[string]ResourceProviderFactory{
"aws": testProviderFuncFixed(p), "aws": testProviderFuncFixed(p),
@ -524,11 +523,11 @@ func TestContextPlan_computedList(t *testing.T) {
} }
} }
func TestContextPlan_count(t *testing.T) { func TestContext2Plan_count(t *testing.T) {
m := testModule(t, "plan-count") m := testModule(t, "plan-count")
p := testProvider("aws") p := testProvider("aws")
p.DiffFn = testDiffFn p.DiffFn = testDiffFn
ctx := testContext(t, &ContextOpts{ ctx := testContext2(t, &ContextOpts{
Module: m, Module: m,
Providers: map[string]ResourceProviderFactory{ Providers: map[string]ResourceProviderFactory{
"aws": testProviderFuncFixed(p), "aws": testProviderFuncFixed(p),
@ -551,6 +550,7 @@ func TestContextPlan_count(t *testing.T) {
} }
} }
/*
func TestContextPlan_countComputed(t *testing.T) { func TestContextPlan_countComputed(t *testing.T) {
m := testModule(t, "plan-count-computed") m := testModule(t, "plan-count-computed")
p := testProvider("aws") p := testProvider("aws")