diff options
author | jaseg <git@jaseg.de> | 2022-01-22 15:00:05 +0100 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2022-01-22 15:00:05 +0100 |
commit | 7cf41c6a72e52a63b4f4d4497732a72d6623eec8 (patch) | |
tree | b58607dd787173da641e21b678753855358495e5 /gerbonara/gerber/tests/utils.py | |
parent | b85e8b0065c1b90159970ed8139f0747e953eb3f (diff) | |
download | gerbonara-7cf41c6a72e52a63b4f4d4497732a72d6623eec8.tar.gz gerbonara-7cf41c6a72e52a63b4f4d4497732a72d6623eec8.tar.bz2 gerbonara-7cf41c6a72e52a63b4f4d4497732a72d6623eec8.zip |
Fix a few more tests
Diffstat (limited to 'gerbonara/gerber/tests/utils.py')
-rw-r--r-- | gerbonara/gerber/tests/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/gerber/tests/utils.py b/gerbonara/gerber/tests/utils.py index ee8fc68..f63f3c6 100644 --- a/gerbonara/gerber/tests/utils.py +++ b/gerbonara/gerber/tests/utils.py @@ -11,7 +11,7 @@ from PIL import Image import pytest fail_dir = Path('gerbonara_test_failures') -reference_path = lambda reference: Path(__file__).parent / 'resources' / reference +reference_path = lambda reference: Path(__file__).parent / 'resources' / str(reference) to_gerbv_svg_units = lambda val, unit='mm': val*72 if unit == 'inch' else val/25.4*72 def path_test_name(request): |