From a2d278b2842301f5fa83337c15853a7f985ef27f Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 11 Feb 2015 22:46:47 -0800 Subject: [PATCH] terraform: more passing tests --- terraform/context_test.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/terraform/context_test.go b/terraform/context_test.go index 3e2de79ba..dc7699ae9 100644 --- a/terraform/context_test.go +++ b/terraform/context_test.go @@ -477,12 +477,11 @@ func TestContext2Plan_nil(t *testing.T) { } } -/* -func TestContextPlan_computed(t *testing.T) { +func TestContext2Plan_computed(t *testing.T) { m := testModule(t, "plan-computed") p := testProvider("aws") p.DiffFn = testDiffFn - ctx := testContext(t, &ContextOpts{ + ctx := testContext2(t, &ContextOpts{ Module: m, Providers: map[string]ResourceProviderFactory{ "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") p := testProvider("aws") p.DiffFn = testDiffFn - ctx := testContext(t, &ContextOpts{ + ctx := testContext2(t, &ContextOpts{ Module: m, Providers: map[string]ResourceProviderFactory{ "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") p := testProvider("aws") p.DiffFn = testDiffFn - ctx := testContext(t, &ContextOpts{ + ctx := testContext2(t, &ContextOpts{ Module: m, Providers: map[string]ResourceProviderFactory{ "aws": testProviderFuncFixed(p), @@ -551,6 +550,7 @@ func TestContextPlan_count(t *testing.T) { } } +/* func TestContextPlan_countComputed(t *testing.T) { m := testModule(t, "plan-count-computed") p := testProvider("aws")