From 57678e6e74806248c3a03cc238d0e8ee4cf7a175 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Tue, 9 Jan 2024 13:53:49 -0300 Subject: [PATCH] [Tests][Added] --help-errors --- tests/test_plot/test_misc.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/test_plot/test_misc.py b/tests/test_plot/test_misc.py index 7bbf9cf9..edc47444 100644 --- a/tests/test_plot/test_misc.py +++ b/tests/test_plot/test_misc.py @@ -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)