diff --git a/tests/test_plot/test_misc.py b/tests/test_plot/test_misc.py index 6573a60b..2403f257 100644 --- a/tests/test_plot/test_misc.py +++ b/tests/test_plot/test_misc.py @@ -852,6 +852,10 @@ def test_import_7(test_dir): """ Import a preflight """ prj = '3Rs' ctx = context.TestContext(test_dir, prj, 'import_test_7') + if context.ki7(): + ctx.board_file.replace('kicad_pcb', 'kicad_pro') + with open(ctx.board_file.replace('kicad_pcb', 'kicad_pro'), 'wt') as f: + f.write(json.dumps({"board": {"design_settings": {"rule_severities": {"lib_footprint_issues": "ignore"}}}})) ctx.run(extra=[]) ctx.expect_out_file('3Rs-drc.txt') ctx.clean_up()