diff --git a/tests/common/test_utils_reconstitution.py b/tests/common/test_utils_reconstitution.py index 9a8a26f..7c36237 100644 --- a/tests/common/test_utils_reconstitution.py +++ b/tests/common/test_utils_reconstitution.py @@ -25,7 +25,7 @@ def test_synthesize_page(): # Test with polygons pages_poly = pages[0].export() - pages_poly["blocks"][0]["lines"][1]["geometry"] = [(0, 0), (0, 1), (1, 1), (1, 0)] + pages_poly["blocks"][0]["lines"][0]["geometry"] = [(0, 0), (0, 1), (1, 1), (1, 0)] render_poly = reconstitution.synthesize_page(pages_poly, draw_proba=True) assert isinstance(render_poly, np.ndarray) assert render_poly.shape == (*pages[0].dimensions, 3)