From 4f5b4c06191c2c58c6aa4d26b47d6d20aa41835d Mon Sep 17 00:00:00 2001 From: Diego Capusotto Date: Wed, 15 Dec 2021 11:17:45 -0300 Subject: [PATCH] Adapted the test_filter_not_list to the new error message - Now we don't use a plural for one option. --- 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 50f6f86c..3eebc655 100644 --- a/tests/test_plot/test_yaml_errors.py +++ b/tests/test_plot/test_yaml_errors.py @@ -289,7 +289,7 @@ def test_error_step_min_distance(test_dir): def test_filter_not_list(test_dir): ctx = context.TestContext(test_dir, 'FilterNotList', PRJ, 'error_filter_not_list', '') ctx.run(EXIT_BAD_CONFIG) - assert ctx.search_err("Option .?filters.? must be any of") + assert ctx.search_err(r"Option .?filters.? must be a list\(dict\) not `dict`") ctx.clean_up()