[Tests][Added] Outputs help in separated files
This commit is contained in:
parent
bb936aedaa
commit
e94c4a0ec1
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue