Skip to content

Commit

Permalink
update test_datelist
Browse files Browse the repository at this point in the history
  • Loading branch information
jlmaurer committed Aug 10, 2023
1 parent fcbc73e commit 115330e
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions test/test_datelist.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ def test_datelist():
}
}

dst = os.path.join(SCENARIO_DIR, 'temp.yaml')
update_yaml(dct_group, dst)
param_dict = read_template_file(dst)
cfg = update_yaml(dct_group, 'temp.yaml')
param_dict = read_template_file(cfg)
assert param_dict['date_list'] == true_dates


Expand All @@ -46,7 +45,6 @@ def test_datestep():
}
}

dst = os.path.join(SCENARIO_DIR, 'temp.yaml')
update_yaml(dct_group, dst)
param_dict = read_template_file(dst)
assert param_dict['date_list'] == true_dates
cfg = update_yaml(dct_group, 'temp.yaml')
param_dict = read_template_file(cfg)
assert param_dict['date_list'] == true_dates

0 comments on commit 115330e

Please sign in to comment.