[Tests][Print PCB] Give some tolerance to the tests

This commit is contained in:
Salvador E. Tropea 2023-04-13 11:20:22 -03:00
parent a8fe973a31
commit c8cbbcdd27
1 changed files with 2 additions and 2 deletions

View File

@ -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()