aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-11-14 20:51:05 +0100
committerjaseg <git@jaseg.de>2023-11-14 20:51:05 +0100
commit2384f4fc9419708d17779fec418ac5f2286ac8d4 (patch)
treee152506170562c34a6d61da9e28ed44a28d66f9b
parent8e8bcee209be254da1f23787a2b82349f3a23ef9 (diff)
downloadgerbolyze-2384f4fc9419708d17779fec418ac5f2286ac8d4.tar.gz
gerbolyze-2384f4fc9419708d17779fec418ac5f2286ac8d4.tar.bz2
gerbolyze-2384f4fc9419708d17779fec418ac5f2286ac8d4.zip
Fix failing unit test
-rw-r--r--gerbolyze/tests/test_integration.py4
1 files changed, 2 insertions, 2 deletions
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 <code@jaseg.de>
#
@@ -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).