Skip to content

Commit d90099d

Browse files
author
Michael Maeng
committed
Fix tests to reflect remove instead of auto_remove
1 parent 7cc34e6 commit d90099d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/plugin/codegen_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ def test__docker_build_good_path(plugin, tmp_path):
434434
mock_run.assert_called_once_with(
435435
image=ANY,
436436
command=ANY,
437-
auto_remove=True,
437+
remove=True,
438438
volumes={str(tmp_path): {"bind": "/project", "mode": "rw"}},
439439
stream=True,
440440
entrypoint="",
@@ -476,7 +476,7 @@ def test__docker_build_bad_path(plugin, tmp_path, exception):
476476
mock_run.assert_called_once_with(
477477
image=ANY,
478478
command=ANY,
479-
auto_remove=True,
479+
remove=True,
480480
volumes={str(tmp_path): {"bind": "/project", "mode": "rw"}},
481481
stream=True,
482482
entrypoint="",

0 commit comments

Comments
 (0)