From c8cbbcdd27f4bb1868ef1b34f152cf09f959a770 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Thu, 13 Apr 2023 11:20:22 -0300 Subject: [PATCH] [Tests][Print PCB] Give some tolerance to the tests --- tests/test_plot/test_print_pcb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_plot/test_print_pcb.py b/tests/test_plot/test_print_pcb.py index 605db265..b467c548 100644 --- a/tests/test_plot/test_print_pcb.py +++ b/tests/test_plot/test_print_pcb.py @@ -64,7 +64,7 @@ def test_print_pcb_refill_1(test_dir): ctx = context.TestContext(test_dir, prj, 'print_pcb_zone-refill') ctx.run() ctx.expect_out_file(PDF_FILE_B) - ctx.compare_image(PDF_FILE_B) + ctx.compare_image(PDF_FILE_B, tol=10) ctx.clean_up() @@ -78,7 +78,7 @@ def test_print_pcb_refill_2(test_dir): ctx = context.TestContext(test_dir, prj, 'print_pcb_zone-refill_def') ctx.run() ctx.expect_out_file(PDF_FILE_B) - ctx.compare_image(PDF_FILE_B, PDF_FILE_C) + ctx.compare_image(PDF_FILE_B, PDF_FILE_C, tol=10) ctx.clean_up()