From 9680e35b89ad7d18150627b92c18a5439d560233 Mon Sep 17 00:00:00 2001 From: Bousquin Date: Fri, 2 Aug 2024 15:58:09 -0500 Subject: [PATCH] Add assert for actual2 - where the characteristics specific function is used instead of the generic. --- harmonize_wq/tests/test_harmonize_WQP.py | 1 + 1 file changed, 1 insertion(+) diff --git a/harmonize_wq/tests/test_harmonize_WQP.py b/harmonize_wq/tests/test_harmonize_WQP.py index 9c45fd2..059dbd1 100644 --- a/harmonize_wq/tests/test_harmonize_WQP.py +++ b/harmonize_wq/tests/test_harmonize_WQP.py @@ -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