summaryrefslogtreecommitdiff
path: root/gerbonara/tests/test_layers.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2022-06-21 09:52:46 +0200
committerjaseg <git@jaseg.de>2022-06-21 09:52:46 +0200
commit9ca97311108040552e4f119f1503ecf157297908 (patch)
treec33b8727686ccff492e0e7315d710e413cb8cdf1 /gerbonara/tests/test_layers.py
parentbff588ff758ecdf475aa0e3c4ee4ad6186fda916 (diff)
downloadgerbonara-9ca97311108040552e4f119f1503ecf157297908.tar.gz
gerbonara-9ca97311108040552e4f119f1503ecf157297908.tar.bz2
gerbonara-9ca97311108040552e4f119f1503ecf157297908.zip
Fix directory testcase
Diffstat (limited to 'gerbonara/tests/test_layers.py')
-rw-r--r--gerbonara/tests/test_layers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/tests/test_layers.py b/gerbonara/tests/test_layers.py
index deed03b..05ac440 100644
--- a/gerbonara/tests/test_layers.py
+++ b/gerbonara/tests/test_layers.py
@@ -315,7 +315,7 @@ def test_layer_classifier(ref_dir):
rev_file_map = { tuple(value.split()): key for key, value in file_map.items() }
drill_files = { filename: role for filename, role in file_map.items() if role.startswith('drill') }
- stack = LayerStack.from_directory(path)
+ stack = LayerStack.open_dir(path)
print('loaded layers:', ', '.join(f'{side} {use}' for side, use in stack.graphic_layers))
for side in 'top', 'bottom':