Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
floriankrb committed Sep 12, 2023
1 parent a28599f commit 59e63ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ def test_get_all_dates():

lst = Info("training-input")._get_config("alldates", origin="ncep")
assert len(lst) == 51
assert lst[0] == pd.Timestamp("2010-01-07 00:00:00", freq="W-THU")
assert lst[1] == pd.Timestamp("2010-01-14 00:00:00", freq="W-THU")
assert lst[-1] == pd.Timestamp("2010-12-23 00:00:00", freq="W-THU")
assert lst[0] == pd.Timestamp("2010-01-07 00:00:00")
assert lst[1] == pd.Timestamp("2010-01-14 00:00:00")
assert lst[-1] == pd.Timestamp("2010-12-23 00:00:00")

lst = Info("training-input-dev")._get_config("alldates", origin="ncep")
assert len(lst) == 6
Expand Down

0 comments on commit 59e63ff

Please sign in to comment.