summaryrefslogtreecommitdiff
path: root/gerbonara/tests/conftest.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-07-04 16:20:11 +0200
committerjaseg <git@jaseg.de>2023-07-04 16:20:11 +0200
commit8f7b2893dc9b6bc1b0c7d6f6476e98c8c27a948c (patch)
treec9927e1f36c363a63e6479218b5dc5d7cd2d3156 /gerbonara/tests/conftest.py
parente696c09eac8f997fc82bbe281e9b6c76dc02308a (diff)
downloadgerbonara-8f7b2893dc9b6bc1b0c7d6f6476e98c8c27a948c.tar.gz
gerbonara-8f7b2893dc9b6bc1b0c7d6f6476e98c8c27a948c.tar.bz2
gerbonara-8f7b2893dc9b6bc1b0c7d6f6476e98c8c27a948c.zip
Fix failing symbol tests
Diffstat (limited to 'gerbonara/tests/conftest.py')
-rw-r--r--gerbonara/tests/conftest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/tests/conftest.py b/gerbonara/tests/conftest.py
index 4eba5e3..ea16217 100644
--- a/gerbonara/tests/conftest.py
+++ b/gerbonara/tests/conftest.py
@@ -58,7 +58,7 @@ def pytest_generate_tests(metafunc):
lib_dir = Path(lib_dir).expanduser()
if not lib_dir.is_dir():
raise ValueError(f'Path "{lib_dir}" given by KICAD_FOOTPRINTS environment variable does not exist or is not a directory.')
- mod_files = list(lib_dir.glob('**/*.kicad_mod'))
+ mod_files = list(lib_dir.glob('*.pretty/*.kicad_mod'))
else:
raise ValueError('Either --kicad-footprint-files command line parameter or KICAD_FOOTPRINTS environment variable must be given.')
metafunc.parametrize('kicad_mod_file', mod_files, ids=list(map(str, mod_files)))