From bb7a0cc36c11a7a4c17a0ea10df8a8209c6c87a5 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Sat, 15 Apr 2023 20:03:01 -0300 Subject: [PATCH] [Tests] Added more tolerance for the fill test - Needed by 7.0.2 --- tests/test_plot/test_print_pcb.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_plot/test_print_pcb.py b/tests/test_plot/test_print_pcb.py index b467c548..7d7ab15b 100644 --- a/tests/test_plot/test_print_pcb.py +++ b/tests/test_plot/test_print_pcb.py @@ -17,6 +17,7 @@ PDF_FILE = 'bom-F_Cu+F_SilkS.pdf' PDF_FILE_B = 'PCB_Bot.pdf' PDF_FILE_C = 'PCB_Bot_def.pdf' DIFF_TOL = 10 if os.path.isfile('/etc/debian_version') else 5000 +DIFF_TOL2 = 100 if os.path.isfile('/etc/debian_version') else 5000 @pytest.mark.slow @@ -160,5 +161,6 @@ def test_pcb_print_multizone_1(test_dir): ctx = context.TestContext(test_dir, prj, 'print_multizone') ctx.run() ctx.compare_image(prj+'-assembly_page_01.png', tol=DIFF_TOL) - ctx.compare_image(prj+'-assembly_page_02.png', tol=DIFF_TOL) + # 7.0.1+f1f69c6 generates 48 diff compared to 7.0.1 release + ctx.compare_image(prj+'-assembly_page_02.png', tol=DIFF_TOL2) ctx.clean_up()