From 9ca97311108040552e4f119f1503ecf157297908 Mon Sep 17 00:00:00 2001 From: jaseg Date: Tue, 21 Jun 2022 09:52:46 +0200 Subject: Fix directory testcase --- gerbonara/tests/test_layers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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': -- cgit