File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed
Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ def test_run(
118118 images_to_push : list [str ] = []
119119 for image in images :
120120 built_image = (
121- f"{ dst if dst else def_dst } /{ image [ 0 ] } :{ tags [0 ] if tags else def_tags [0 ]} "
121+ f"{ dst if dst else def_dst } /{ image } :{ tags [0 ] if tags else def_tags [0 ]} "
122122 )
123123 built_images .append (built_image )
124124 images_to_push .append (built_image )
@@ -170,17 +170,11 @@ def test_run(
170170
171171 # Check that 'push_images' was called with the correct arguments
172172 mock_push .assert_called_once_with (
173- call (
174- images = images_to_push ,
175- dry_run = dry_run if dry_run else def_dry_run ,
176- ),
177- any_order = True ,
173+ images = images_to_push ,
174+ dry_run = dry_run if dry_run else def_dry_run ,
178175 )
179176
180177 # Check that 'cleanup' was called correctly
181178 mock_clean .assert_called_once_with (
182- call (
183- dry_run = dry_run if dry_run else def_dry_run ,
184- ),
185- any_order = True ,
179+ dry_run = dry_run if dry_run else def_dry_run ,
186180 )
You can’t perform that action at this time.
0 commit comments