[Tests][Added] --help-outputs --rst

This commit is contained in:
Salvador E. Tropea 2024-01-09 13:39:29 -03:00
parent 9ea3e39481
commit 187f21e6e7
1 changed files with 9 additions and 1 deletions

View File

@ -388,7 +388,7 @@ def test_help_output_plugin_4(test_dir, monkeypatch):
ctx.clean_up()
def test_help_outputs(test_dir):
def test_help_outputs_md(test_dir):
ctx = context.TestContext(test_dir, '3Rs', 'pre_and_position')
ctx.run(extra=['--help-outputs'], no_verbose=True, no_out_dir=True, no_yaml_file=True, no_board_file=True)
assert ctx.search_out('Gerber format')
@ -396,6 +396,14 @@ def test_help_outputs(test_dir):
ctx.clean_up()
def test_help_outputs_rst(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')
assert ctx.search_out('Type: .?.?gerber.?.?')
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)