From 5595229430b01bcc7c676584d10f4a54f9cbe99b Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 11 Feb 2015 15:23:36 -0800 Subject: [PATCH] terraform: uncomments 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 6ee6fbd24..dba9644ea 100644 --- a/terraform/context_test.go +++ b/terraform/context_test.go @@ -34,8 +34,7 @@ func TestContext2Plan(t *testing.T) { } } -/* -func TestContextPlan_emptyDiff(t *testing.T) { +func TestContext2Plan_emptyDiff(t *testing.T) { m := testModule(t, "plan-empty") p := testProvider("aws") p.DiffFn = func( @@ -45,7 +44,7 @@ func TestContextPlan_emptyDiff(t *testing.T) { return nil, nil } - ctx := testContext(t, &ContextOpts{ + ctx := testContext2(t, &ContextOpts{ Module: m, Providers: map[string]ResourceProviderFactory{ "aws": testProviderFuncFixed(p), @@ -64,11 +63,11 @@ func TestContextPlan_emptyDiff(t *testing.T) { } } -func TestContextPlan_minimal(t *testing.T) { +func TestContext2Plan_minimal(t *testing.T) { m := testModule(t, "plan-empty") p := testProvider("aws") p.DiffFn = testDiffFn - ctx := testContext(t, &ContextOpts{ + ctx := testContext2(t, &ContextOpts{ Module: m, Providers: map[string]ResourceProviderFactory{ "aws": testProviderFuncFixed(p), @@ -87,11 +86,11 @@ func TestContextPlan_minimal(t *testing.T) { } } -func TestContextPlan_modules(t *testing.T) { +func TestContext2Plan_modules(t *testing.T) { m := testModule(t, "plan-modules") p := testProvider("aws") p.DiffFn = testDiffFn - ctx := testContext(t, &ContextOpts{ + ctx := testContext2(t, &ContextOpts{ Module: m, Providers: map[string]ResourceProviderFactory{ "aws": testProviderFuncFixed(p), @@ -110,6 +109,7 @@ func TestContextPlan_modules(t *testing.T) { } } +/* func TestContextPlan_moduleInput(t *testing.T) { m := testModule(t, "plan-module-input") p := testProvider("aws")