From 3bc2e88b087b96a384b22eedf63eb4dafd58f887 Mon Sep 17 00:00:00 2001 From: George McCabe <23407799+georgemccabe@users.noreply.github.com> Date: Mon, 3 Oct 2022 10:58:08 -0600 Subject: [PATCH] fixed unit test to match change to get_level_list function that now adds quotation marks to format the values instead of handling that later in the processing --- .../wrappers/stat_analysis/test_stat_analysis.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/internal/tests/pytests/wrappers/stat_analysis/test_stat_analysis.py b/internal/tests/pytests/wrappers/stat_analysis/test_stat_analysis.py index 0a5ac4f3a..a082ac2ab 100644 --- a/internal/tests/pytests/wrappers/stat_analysis/test_stat_analysis.py +++ b/internal/tests/pytests/wrappers/stat_analysis/test_stat_analysis.py @@ -765,14 +765,14 @@ def test_run_stat_analysis(metplus_config): @pytest.mark.parametrize( 'data_type, config_list, expected_list', [ - ('FCST', '\"0,*,*\"', ["0,*,*"]), - ('FCST', '\"(0,*,*)\"', ["0,*,*"]), - ('FCST', '\"0,*,*\", \"1,*,*\"', ["0,*,*", "1,*,*"]), - ('FCST', '\"(0,*,*)\", \"(1,*,*)\"', ["0,*,*", "1,*,*"]), - ('OBS', '\"0,*,*\"', ["0,*,*"]), - ('OBS', '\"(0,*,*)\"', ["0,*,*"]), - ('OBS', '\"0,*,*\", \"1,*,*\"', ["0,*,*", "1,*,*"]), - ('OBS', '\"(0,*,*)\", \"(1,*,*)\"', ["0,*,*", "1,*,*"]), + ('FCST', '\"0,*,*\"', ['"0,*,*"']), + ('FCST', '\"(0,*,*)\"', ['"0,*,*"']), + ('FCST', '\"0,*,*\", \"1,*,*\"', ['"0,*,*"', '"1,*,*"']), + ('FCST', '\"(0,*,*)\", \"(1,*,*)\"', ['"0,*,*"', '"1,*,*"']), + ('OBS', '\"0,*,*\"', ['"0,*,*"']), + ('OBS', '\"(0,*,*)\"', ['"0,*,*"']), + ('OBS', '\"0,*,*\", \"1,*,*\"', ['"0,*,*"', '"1,*,*"']), + ('OBS', '\"(0,*,*)\", \"(1,*,*)\"', ['"0,*,*"', '"1,*,*"']), ] ) @pytest.mark.wrapper_d