Skip to content

Commit 298f9ce

Browse files
committed
More fixes to test logic for 'tag_image' call count
1 parent 5d45b2d commit 298f9ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/cli/test_build_images.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def test_run(
154154

155155
# Check that 'tag_image' was called with the correct arguments
156156
if tags[1:]:
157-
assert mock_tag.call_count == len(tags[1:])
157+
assert mock_tag.call_count == len(built_images)
158158
expected_tag_calls = (
159159
call(
160160
image_path=image,

0 commit comments

Comments
 (0)