diff --git a/tests/test_plot/test_pcbdraw.py b/tests/test_plot/test_pcbdraw.py index c42965b3..58218374 100644 --- a/tests/test_plot/test_pcbdraw.py +++ b/tests/test_plot/test_pcbdraw.py @@ -156,7 +156,7 @@ def test_pcbdraw_variant_1(test_dir): # in the borders. With 40% these differences are removed and we still detect is a # components was removed. # Expected: R1 and R2 populated - ctx.compare_image(fname, fuzz='40%') + ctx.compare_image(fname, fuzz='40%', height='100%') ctx.clean_up(keep_project=True) @@ -168,7 +168,7 @@ def test_pcbdraw_variant_2(test_dir): fname = prj+'-top-C1.png' ctx.expect_out_file(fname) # Expected: R1 and R2 populated + C1 manually added - ctx.compare_image(fname, fuzz='40%') + ctx.compare_image(fname, fuzz='40%', height='100%', tol=30) ctx.clean_up(keep_project=True) @@ -179,6 +179,6 @@ def test_pcbdraw_variant_3(test_dir): # Check all outputs are there fname = prj+'-top.png' ctx.expect_out_file(fname) - ctx.compare_image(fname, fuzz='40%') + ctx.compare_image(fname, fuzz='40%', height='100%') assert ctx.search_err("Ambiguous list of components to show .?none.? vs variant/filter") ctx.clean_up(keep_project=True)