Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
zzstoatzz committed Sep 6, 2024
1 parent 1a9fc3a commit c7eeb97
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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()

0 comments on commit c7eeb97

Please sign in to comment.