diff --git a/tests/test_plot/test_position.py b/tests/test_plot/test_position.py index 58a4b340..c0b99c52 100644 --- a/tests/test_plot/test_position.py +++ b/tests/test_plot/test_position.py @@ -7,6 +7,7 @@ We test (both CSV and ASCII): - Unified file, mm, only SMD - Unified file, mm, not only SMD - Separated files, inches, only SMD +- Also test a case without 'comment' field For debug information use: pytest-3 --log-cli-level debug @@ -99,6 +100,7 @@ def test_3Rs_position_inches(): def test_3Rs_position_csv(): + """ Also test a case without comment """ ctx = context.TestContext('3Rs_position_csv', '3Rs', 'simple_position_csv', POS_DIR) ctx.run() pos_top = ctx.get_pos_top_csv_filename() diff --git a/tests/yaml_samples/simple_position_csv.kiplot.yaml b/tests/yaml_samples/simple_position_csv.kiplot.yaml index 0a736b0a..393430f3 100644 --- a/tests/yaml_samples/simple_position_csv.kiplot.yaml +++ b/tests/yaml_samples/simple_position_csv.kiplot.yaml @@ -5,7 +5,6 @@ kiplot: outputs: - name: 'position' - comment: "Pick and place file" type: position dir: positiondir options: