Override previously saved test images
This commit is contained in:
parent
d80b6e520f
commit
09430350f1
@ -48,7 +48,7 @@ class ImageGeneratorControlnetTestHelper:
|
|||||||
controlnet_strength=controlnet_strength,
|
controlnet_strength=controlnet_strength,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
image.save(path=output_image_path)
|
image.save(path=output_image_path, overwrite=True)
|
||||||
|
|
||||||
# then
|
# then
|
||||||
np.testing.assert_array_equal(
|
np.testing.assert_array_equal(
|
||||||
|
|||||||
@ -48,7 +48,7 @@ class ImageGeneratorTestHelper:
|
|||||||
width=width,
|
width=width,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
image.save(path=output_image_path)
|
image.save(path=output_image_path, overwrite=True)
|
||||||
|
|
||||||
# then
|
# then
|
||||||
np.testing.assert_array_equal(
|
np.testing.assert_array_equal(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user