aboutsummaryrefslogtreecommitdiff
path: root/gerbolyze/tests
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-03-31 14:12:45 +0200
committerjaseg <git@jaseg.de>2023-03-31 14:12:45 +0200
commit4127a18e8997f0f94ac97ab3e9eec1010fd1e857 (patch)
tree86f6dd72a809d7d38fbfdaab1d17c7efd27b0e5d /gerbolyze/tests
parent0d4172901bb0f9a37c46cd46da786cf92155774c (diff)
downloadgerbolyze-4127a18e8997f0f94ac97ab3e9eec1010fd1e857.tar.gz
gerbolyze-4127a18e8997f0f94ac97ab3e9eec1010fd1e857.tar.bz2
gerbolyze-4127a18e8997f0f94ac97ab3e9eec1010fd1e857.zip
Fix drill layer handling for latest changes in gerbonara
Diffstat (limited to 'gerbolyze/tests')
-rw-r--r--gerbolyze/tests/test_integration.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gerbolyze/tests/test_integration.py b/gerbolyze/tests/test_integration.py
index 5232cb1..f324096 100644
--- a/gerbolyze/tests/test_integration.py
+++ b/gerbolyze/tests/test_integration.py
@@ -83,5 +83,6 @@ def test_convert_layers():
# Note: svg-flatten rounds these diameters to the geometric tolerance given on the command line (0.01mm by
# default).
- assert set(stack.drill_layers[0].drill_sizes()) == {0.7, 0.5}
+ assert stack.drill_pth.drill_sizes() == [0.7]
+ assert stack.drill_npth.drill_sizes() == [0.5]