From c7eeb971080ccea8fa176be8b6cd2f3d9d5dc86b Mon Sep 17 00:00:00 2001 From: zzstoatzz Date: Fri, 6 Sep 2024 11:21:26 -0500 Subject: [PATCH] update test --- .../prefect-docker/tests/deployments/test_steps.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/integrations/prefect-docker/tests/deployments/test_steps.py b/src/integrations/prefect-docker/tests/deployments/test_steps.py index ddbe7a1fc5e7..9372c0e25325 100644 --- a/src/integrations/prefect-docker/tests/deployments/test_steps.py +++ b/src/integrations/prefect-docker/tests/deployments/test_steps.py @@ -505,7 +505,6 @@ def test_uncached_push_docker_image(self, mock_docker_client): def test_avoids_aggressive_caching(self, mock_docker_client): image_name = "registry/repo" tag = "latest" - credentials = {"username": "user", "password": "pass"} build_docker_image( image_name=image_name, @@ -516,7 +515,7 @@ def test_avoids_aggressive_caching(self, mock_docker_client): push_docker_image( image_name=image_name, tag=tag, - credentials=credentials, ) + mock_docker_client.api.build.assert_called_once() mock_docker_client.api.push.assert_called_once()