Skip to content

Commit ab50145

Browse files
author
Michael Maeng
committed
update tests to look to remove instead of auto_remove
1 parent f930b53 commit ab50145

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/plugin/codegen_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ def test__build_docker_posix(plugin):
439439
mock_run.assert_called_once_with(
440440
image=ANY,
441441
command=ANY,
442-
auto_remove=True,
442+
remove=True,
443443
volumes={str(sentinel.base_path): {"bind": "/project", "mode": "rw"}},
444444
stream=True,
445445
entrypoint="",
@@ -464,7 +464,7 @@ def test__build_docker_windows(plugin):
464464
mock_run.assert_called_once_with(
465465
image=ANY,
466466
command=ANY,
467-
auto_remove=True,
467+
remove=True,
468468
volumes={str(sentinel.base_path): {"bind": "/project", "mode": "rw"}},
469469
stream=True,
470470
entrypoint="",
@@ -492,7 +492,7 @@ def test__build_docker_no_euid(plugin):
492492
mock_run.assert_called_once_with(
493493
image=ANY,
494494
command=ANY,
495-
auto_remove=True,
495+
remove=True,
496496
volumes={str(sentinel.base_path): {"bind": "/project", "mode": "rw"}},
497497
stream=True,
498498
entrypoint="",

0 commit comments

Comments
 (0)