From d25f2eff239acf01f6a1f23718377d0eee58c2af Mon Sep 17 00:00:00 2001 From: beelit94 Date: Wed, 4 Jan 2017 23:46:15 +0800 Subject: [PATCH] fix the test --- test/test_terraform.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_terraform.py b/test/test_terraform.py index de4623a..eacb781 100644 --- a/test/test_terraform.py +++ b/test/test_terraform.py @@ -155,7 +155,7 @@ class TestTerraform(object): def test_plan(self, plan, variables, expected_ret): tf = Terraform(working_dir=current_path, variables=variables) ret, out, err = tf.plan(plan) - assert ret == 0 + assert ret == expected_ret def test_fmt(self, fmt_test_file): tf = Terraform(working_dir=current_path, variables={'test_var': 'test'})