From 4127a18e8997f0f94ac97ab3e9eec1010fd1e857 Mon Sep 17 00:00:00 2001 From: jaseg Date: Fri, 31 Mar 2023 14:12:45 +0200 Subject: Fix drill layer handling for latest changes in gerbonara --- gerbolyze/tests/test_integration.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gerbolyze/tests') 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] -- cgit