Skip to content

Commit b654417

Browse files
fix crop threshold
1 parent cc70723 commit b654417

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/v2/file_operations/test_crop_operation_integration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ def test_image_should_extract_crops():
5757
extracted_images.save_all_to_disk(OUTPUT_DIR)
5858
crop1size = os.path.getsize(OUTPUT_DIR / "crop_001.jpg")
5959
crop2size = os.path.getsize(OUTPUT_DIR / "crop_002.jpg")
60-
assert 186699 <= crop1size <= 199685
61-
assert 194103 <= crop2size <= 199433
60+
assert 180000 <= crop1size <= 199685
61+
assert 190000 <= crop2size <= 199433
6262

6363

6464
@pytest.fixture(scope="module", autouse=True)

0 commit comments

Comments
 (0)