Skip to content

Commit

Permalink
[Tests][Added] --help-errors
Browse files Browse the repository at this point in the history
  • Loading branch information
set-soft committed Jan 9, 2024
1 parent 5359720 commit 57678e6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/test_plot/test_misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,13 @@ def test_help(test_dir):
ctx.clean_up()


def test_help_errors(test_dir):
ctx = context.TestContext(test_dir, '3Rs', 'pre_and_position')
ctx.run(extra=['--help-errors'], no_verbose=True, no_out_dir=True, no_yaml_file=True, no_board_file=True)
assert ctx.search_out('1: INTERNAL_ERROR')
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)
Expand Down

0 comments on commit 57678e6

Please sign in to comment.