diff options
author | jaseg <git@jaseg.de> | 2023-02-21 22:48:14 +0100 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2023-02-21 22:48:14 +0100 |
commit | 6231f67139f64e71fdb0893d86ff3308572d46d8 (patch) | |
tree | f788f0711c158c327b038f69f13975ff0fbf75ab /gerbonara/tests/test_excellon.py | |
parent | 9a6bc691cb0fa96d50a93e6bce60161a4fc6940d (diff) | |
download | gerbonara-6231f67139f64e71fdb0893d86ff3308572d46d8.tar.gz gerbonara-6231f67139f64e71fdb0893d86ff3308572d46d8.tar.bz2 gerbonara-6231f67139f64e71fdb0893d86ff3308572d46d8.zip |
Fix tests
Diffstat (limited to 'gerbonara/tests/test_excellon.py')
-rw-r--r-- | gerbonara/tests/test_excellon.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gerbonara/tests/test_excellon.py b/gerbonara/tests/test_excellon.py index 3221439..addf89e 100644 --- a/gerbonara/tests/test_excellon.py +++ b/gerbonara/tests/test_excellon.py @@ -31,8 +31,8 @@ from .utils import * from ..utils import Inch, MM REFERENCE_FILES = { - 'easyeda/Gerber_Drill_NPTH.DRL': (None, None), - 'easyeda/Gerber_Drill_PTH.DRL': (None, 'easyeda/Gerber_TopLayer.GTL'), + 'easyeda/Gerber_Drill_NPTH.DRL': (('inch', 'leading', 4), None), + 'easyeda/Gerber_Drill_PTH.DRL': (('inch', 'leading', 4), 'easyeda/Gerber_TopLayer.GTL'), # Altium uses an excellon format specification format that gerbv doesn't understand, so we have to fix that. 'altium-composite-drill/NC Drill/LimeSDR-QPCIe_1v2-SlotHoles.TXT': (('mm', 'trailing', 4), None), 'altium-composite-drill/NC Drill/LimeSDR-QPCIe_1v2-RoundHoles.TXT': (('mm', 'trailing', 4), 'altium-composite-drill/Gerber/LimeSDR-QPCIe_1v2.GTL'), @@ -57,7 +57,6 @@ REFERENCE_FILES = { def test_round_trip(reference, tmpfile): reference, (unit_spec, _) = reference tmp = tmpfile('Output excellon', '.drl') - print('unit spec', unit_spec) f = ExcellonFile.open(reference) f.save(tmp) @@ -79,7 +78,6 @@ def test_first_level_idempotence_svg(reference, tmpfile): tmp = tmpfile('Output excellon', '.drl') ref_svg = tmpfile('Reference SVG render', '.svg') out_svg = tmpfile('Output SVG render', '.svg') - print('unit spec', unit_spec) a = ExcellonFile.open(reference) a.save(tmp) |