Skip to content

Commit

Permalink
fixed unit test to match change to get_level_list function that now a…
Browse files Browse the repository at this point in the history
…dds quotation marks to format the values instead of handling that later in the processing
  • Loading branch information
georgemccabe committed Oct 3, 2022
1 parent e644194 commit 3bc2e88
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3bc2e88

Please sign in to comment.