fix the test

This commit is contained in:
beelit94 2017-01-04 23:46:15 +08:00
parent 292e2be3a8
commit d25f2eff23

View file

@ -155,7 +155,7 @@ class TestTerraform(object):
def test_plan(self, plan, variables, expected_ret): def test_plan(self, plan, variables, expected_ret):
tf = Terraform(working_dir=current_path, variables=variables) tf = Terraform(working_dir=current_path, variables=variables)
ret, out, err = tf.plan(plan) ret, out, err = tf.plan(plan)
assert ret == 0 assert ret == expected_ret
def test_fmt(self, fmt_test_file): def test_fmt(self, fmt_test_file):
tf = Terraform(working_dir=current_path, variables={'test_var': 'test'}) tf = Terraform(working_dir=current_path, variables={'test_var': 'test'})