fix test code

This commit is contained in:
beelit94 2017-05-09 17:51:52 +08:00
parent cc24b9d3e1
commit 4709bd069a

View file

@ -195,7 +195,7 @@ class TestTerraform(object):
assert ret == 0 assert ret == 0
def test_import(self, string_logger): def test_import(self, string_logger):
tf = Terraform(working_dir=os.path.join(current_path, 'import_test')) tf = Terraform(working_dir=current_path)
tf.import_cmd('aws_instance.foo', 'i-abc1234', no_color=IsFlagged) tf.import_cmd('aws_instance.foo', 'i-abc1234', no_color=IsFlagged)
logs = string_logger.getvalue() logs = string_logger.getvalue()
print(logs) print(logs)