Skip to content

Commit 1277c59

Browse files
committed
fix test of the factory created tasks
needs to include autoapprove=True expectation
1 parent 26178cd commit 1277c59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/infrablocks/invoke_terraform/test_task_factory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def pre_task_function(_context, _, configuration: Configuration):
148148
reconfigure=False,
149149
)
150150
terraform.apply.assert_called_once_with(
151-
chdir=source_directory, vars=variables
151+
chdir=source_directory, vars=variables, autoapprove=True
152152
)
153153

154154
def test_apply_uses_workspace(self):

0 commit comments

Comments
 (0)