fix the test
This commit is contained in:
parent
292e2be3a8
commit
d25f2eff23
1 changed files with 1 additions and 1 deletions
|
@ -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'})
|
||||||
|
|
Loading…
Reference in a new issue