Skip to content

Commit

Permalink
fix(test): add comment explaining test
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkleiven committed Nov 18, 2024
1 parent c13dbdd commit a73f347
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_data_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ def test_empty_phase_tap_changer():
df = pd.DataFrame([], columns=columns)

validated_df = PhaseTapChangerDataFrame(df)

# Check that the target value is correctly casted from object to np.float64
assert validated_df.dtypes.to_dict()["target_value"] == np.float64

0 comments on commit a73f347

Please sign in to comment.