Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
maresb committed Jul 7, 2024
1 parent e20cb8a commit 7fea294
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 3 deletions.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/labelle/lib/render_engines/tests/test_render_engines.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,9 @@ def test_qr_render_engine_too_big():
#############################


@pytest.mark.parametrize("width", [10, 100, 1000])
def test_sample_pattern_render_engine(request, image_diff, width):
render_engine = SamplePatternRenderEngine(width=width)
@pytest.mark.parametrize("height", [15, 64, 65, 100, 256])
def test_sample_pattern_render_engine(request, image_diff, height):
render_engine = SamplePatternRenderEngine(height=height)
image = render_engine.render(RENDER_CONTEXT)
verify_image(request, image_diff, image)

Expand Down

0 comments on commit 7fea294

Please sign in to comment.