[Tests][Added] --help-list-rotations and --help-list-offsets

This commit is contained in:
Salvador E. Tropea 2024-01-09 13:57:16 -03:00
parent 57678e6e74
commit 58c54a1d71
1 changed files with 14 additions and 0 deletions

View File

@ -312,6 +312,20 @@ def test_help_errors(test_dir):
ctx.clean_up()
def test_help_list_rotations(test_dir):
ctx = context.TestContext(test_dir, '3Rs', 'pre_and_position')
ctx.run(extra=['--help-list-rotations'], no_verbose=True, no_out_dir=True, no_yaml_file=True, no_board_file=True)
assert ctx.search_out('SOT-223(.*)180')
ctx.clean_up()
def test_help_list_offsets(test_dir):
ctx = context.TestContext(test_dir, '3Rs', 'pre_and_position')
ctx.run(extra=['--help-list-offsets'], no_verbose=True, no_out_dir=True, no_yaml_file=True, no_board_file=True)
assert ctx.search_out(r'Footprint\s+Offset X')
ctx.clean_up()
def test_help_list_outputs(test_dir):
ctx = context.TestContext(test_dir, '3Rs', 'pre_and_position')
ctx.run(extra=['--help-list-outputs'], no_verbose=True, no_out_dir=True, no_yaml_file=True, no_board_file=True)