From 50040a935584344764fda5b2391021a8d8c09539 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Thu, 13 Apr 2023 11:24:44 -0300 Subject: [PATCH] [Tests][ERC][KiCad 8] Warning test now needs a project - Avoid removing it --- tests/test_plot/test_preflight.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_plot/test_preflight.py b/tests/test_plot/test_preflight.py index 533aea9f..4787bb08 100644 --- a/tests/test_plot/test_preflight.py +++ b/tests/test_plot/test_preflight.py @@ -64,7 +64,7 @@ def test_erc_warning_1(test_dir): # Check all outputs are there ctx.expect_out_file(prj+'-erc.txt') ctx.search_err(r"WARNING:\(W058\) 1 ERC warnings detected") - ctx.clean_up() + ctx.clean_up(keep_project=context.ki8()) @pytest.mark.slow @@ -77,7 +77,7 @@ def test_erc_warning_2(test_dir): # Check all outputs are there ctx.expect_out_file(prj+'-erc.txt', sub=True) ctx.search_err(r"ERROR:1 ERC errors detected") - ctx.clean_up() + ctx.clean_up(keep_project=context.ki8()) @pytest.mark.slow