Override previously saved test images

This commit is contained in:
filipstrand 2025-03-01 21:37:03 +01:00
parent d80b6e520f
commit 09430350f1
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ class ImageGeneratorControlnetTestHelper:
controlnet_strength=controlnet_strength,
),
)
image.save(path=output_image_path)
image.save(path=output_image_path, overwrite=True)
# then
np.testing.assert_array_equal(

View File

@ -48,7 +48,7 @@ class ImageGeneratorTestHelper:
width=width,
),
)
image.save(path=output_image_path)
image.save(path=output_image_path, overwrite=True)
# then
np.testing.assert_array_equal(