diff --git a/tests/test_plot/test_misc.py b/tests/test_plot/test_misc.py index 2497e784..ebf96a1c 100644 --- a/tests/test_plot/test_misc.py +++ b/tests/test_plot/test_misc.py @@ -431,7 +431,7 @@ def test_help_outputs_md(test_dir): ctx.clean_up() -def test_help_outputs_rst(test_dir): +def test_help_outputs_rst_1(test_dir): ctx = context.TestContext(test_dir, '3Rs', 'pre_and_position') ctx.run(extra=['--help-outputs', '--rst'], no_verbose=True, no_out_dir=True, no_yaml_file=True, no_board_file=True) assert ctx.search_out('Gerber format') @@ -439,6 +439,15 @@ def test_help_outputs_rst(test_dir): ctx.clean_up() +def test_help_outputs_rst_2(test_dir): + """ Separated files """ + ctx = context.TestContext(test_dir, '3Rs', 'pre_and_position') + ctx.run(extra=['--help-outputs', '--rst'], no_verbose=True, no_yaml_file=True, no_board_file=True) + ctx.search_out('outputs/gerber') + ctx.expect_out_file('gerber.rst', sub=True) + ctx.clean_up() + + def test_help_preflights(test_dir): ctx = context.TestContext(test_dir, '3Rs', 'pre_and_position') ctx.run(extra=['--help-preflights'], no_verbose=True, no_out_dir=True, no_yaml_file=True, no_board_file=True)