From 3e40c83ed575128dbb79e7421516dbac02bbc83c Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Thu, 6 Apr 2023 19:43:52 -0300 Subject: [PATCH] [Tests][Fixed][KiCad 8] Version detection --- tests/utils/context.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/utils/context.py b/tests/utils/context.py index 53a1aebd..5af4b13e 100644 --- a/tests/utils/context.py +++ b/tests/utils/context.py @@ -25,11 +25,11 @@ if shutil.which(COVERAGE_SCRIPT) is None: COVERAGE_SCRIPT = 'coverage3' assert shutil.which(COVERAGE_SCRIPT) is not None KICAD_PCB_EXT = '.kicad_pcb' +KICAD_VERSION_5_1_7 = 5001007 KICAD_VERSION_5_99 = 5099000 KICAD_VERSION_6_0_0 = 6000000 KICAD_VERSION_7_0_0 = 7000000 -KICAD_VERSION_5_1_7 = 5001007 -KICAD_VERSION_8_0_0 = 6099000 +KICAD_VERSION_8_0_0 = 7099000 MODE_SCH = 1 MODE_PCB = 0 # Defined as True to collect real world queries