From b535ebaeb26088c5f8e656b66c398caf4b42ac12 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Thu, 15 Oct 2020 17:28:33 -0300 Subject: [PATCH] Adapted the `test_filter_no_number_2` test Now we expect an `error` not necesarily a `number`. --- tests/test_plot/test_yaml_errors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_plot/test_yaml_errors.py b/tests/test_plot/test_yaml_errors.py index ed75192b..161ab7ca 100644 --- a/tests/test_plot/test_yaml_errors.py +++ b/tests/test_plot/test_yaml_errors.py @@ -296,7 +296,7 @@ def test_filter_no_number(): def test_filter_no_number_2(): ctx = context.TestContext('FilterNoNumber2', PRJ, 'error_filter_no_number_2', '') ctx.run(EXIT_BAD_CONFIG) - assert ctx.search_err("Missing .?number.?") + assert ctx.search_err("Missing .?error.?") ctx.clean_up()