summaryrefslogtreecommitdiff
path: root/gerbonara/tests
diff options
context:
space:
mode:
Diffstat (limited to 'gerbonara/tests')
-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':