Skip to content

Commit

Permalink
tests: enable qr oob test+add image
Browse files Browse the repository at this point in the history
  • Loading branch information
tazlin committed May 22, 2024
1 parent 8b7e637 commit 5263cdb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Binary file added images_expected/qr_code_out_of_bounds.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions tests/test_horde_inference_qr_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ def test_qr_code_inference_out_of_bounds(
img_filename = "qr_code_out_of_bounds.png"
pil_image.save(f"images/{img_filename}", quality=100)

# assert check_single_inference_image_similarity(
# f"images_expected/{img_filename}",
# pil_image,
# )
assert check_single_inference_image_similarity(
f"images_expected/{img_filename}",
pil_image,
)

def test_qr_code_inference_xl(
self,
Expand Down

0 comments on commit 5263cdb

Please sign in to comment.