Skip to content

Commit

Permalink
renamed the col Date to time for consistency with other methods in li…
Browse files Browse the repository at this point in the history
…brary
  • Loading branch information
zherbz committed Nov 26, 2024
1 parent 5c9be9c commit 59b1a8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_plan.py
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ def test_observed_timeseries_input_flow():
ds = phdf.observed_timeseries_input(vartype="Flow")
df = ds.sel(refln_name="Denton-Justin_RL").to_dataframe().dropna().reset_index()
valid_df = pd.read_csv(TEST_CSV / "Denton-Justin_RL_Flow.csv")
valid_df["Date"] = pd.to_datetime(valid_df["Date"])
valid_df["time"] = pd.to_datetime(valid_df["time"])
assert_frame_equal(df, valid_df)


Expand All @@ -636,7 +636,7 @@ def test_observed_timeseries_input_stage():
ds.sel(refpt_name="Grapevine_Lake_RP").to_dataframe().dropna().reset_index()
)
valid_df = pd.read_csv(TEST_CSV / "Grapevine_Lake_RP_Stage.csv")
valid_df["Date"] = pd.to_datetime(valid_df["Date"])
valid_df["time"] = pd.to_datetime(valid_df["time"])
assert_frame_equal(df, valid_df)


Expand Down

0 comments on commit 59b1a8f

Please sign in to comment.