From 6a5c082ab73abfead6e249d1a4d81b0e0920efcc Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Fri, 12 Feb 2021 14:31:24 -0300 Subject: [PATCH] Added test for suffix with UTF-8 --- tests/test_plot/test_hpgl.py | 3 +-- tests/yaml_samples/hpgl_auto.kibot.yaml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/test_plot/test_hpgl.py b/tests/test_plot/test_hpgl.py index 8a4b5f95..e4c991b0 100644 --- a/tests/test_plot/test_hpgl.py +++ b/tests/test_plot/test_hpgl.py @@ -36,11 +36,10 @@ def test_hpgl_auto(test_dir): prj = 'simple_2layer' ctx = context.TestContext(test_dir, 'HPGLAuto', prj, 'hpgl_auto', PS_DIR) ctx.run() - f_cu = ctx.get_gerber_filename('F_Cu', '.plt') f_silk = ctx.get_gerber_filename('B_Silks', '.plt') ctx.expect_out_file(f_cu) ctx.expect_out_file(f_silk) ctx.dont_expect_out_file(ctx.get_gerber_job_filename()) - + ctx.search_err(r'Only ASCII chars are allowed for layer suffixes') ctx.clean_up() diff --git a/tests/yaml_samples/hpgl_auto.kibot.yaml b/tests/yaml_samples/hpgl_auto.kibot.yaml index 13087bcd..dd81c909 100644 --- a/tests/yaml_samples/hpgl_auto.kibot.yaml +++ b/tests/yaml_samples/hpgl_auto.kibot.yaml @@ -25,7 +25,7 @@ outputs: pen_width: 0.5 layers: - layer: F.Cu - suffix: F_Cu + suffix: F_Cuá - layer: B.SilkS suffix: B_Silks