From 2384f4fc9419708d17779fec418ac5f2286ac8d4 Mon Sep 17 00:00:00 2001 From: jaseg Date: Tue, 14 Nov 2023 20:51:05 +0100 Subject: Fix failing unit test --- gerbolyze/tests/test_integration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gerbolyze/tests/test_integration.py') diff --git a/gerbolyze/tests/test_integration.py b/gerbolyze/tests/test_integration.py index 78e2e36..234c7fe 100644 --- a/gerbolyze/tests/test_integration.py +++ b/gerbolyze/tests/test_integration.py @@ -1,4 +1,4 @@ -# -*- coding: utf-8 -*- +#s -*- coding: utf-8 -*- # # Copyright 2022 Jan Götte # @@ -109,7 +109,7 @@ def test_convert_layers(): 'bottom silk': 0.160, 'bottom paste': 0.170, 'mechanical outline': 0.09}.items(): - assert set(round(ap.diameter, 4) for ap in stack[layer].apertures) == {dia} + assert set(round(ap.diameter, 4) for ap in stack[layer].apertures()) == {dia} # Note: svg-flatten rounds these diameters to the geometric tolerance given on the command line (0.01mm by # default). -- cgit