Skip to content

Commit

Permalink
Add assert for actual2 - where the characteristics specific function …
Browse files Browse the repository at this point in the history
…is used instead of the generic.
  • Loading branch information
jbousquin committed Aug 2, 2024
1 parent 803ab91 commit 9680e35
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions harmonize_wq/tests/test_harmonize_WQP.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ def test_harmonize_temperature():
actual2 = harmonize.harmonize(
NARROW_RESULTS.iloc[0:10], "Temperature, water", units_out="deg F"
)
assert isinstance(actual2, pandas.core.frame.DataFrame) # Test type
# Test that the dataframe has expected type, size, cols, and rows
assert isinstance(actual, pandas.core.frame.DataFrame) # Test type
assert actual.size == 13301685 # Test size #14784040
Expand Down

0 comments on commit 9680e35

Please sign in to comment.