diff --git a/tests/test_si.py b/tests/test_si.py index b6aca6c..b25fef9 100644 --- a/tests/test_si.py +++ b/tests/test_si.py @@ -17,9 +17,8 @@ def test_sgi(head: Series) -> None: sgi(head, fit_freq="ME") -def test_sffi(prec: Series) -> None: - sf = prec.rolling("30D", min_periods=30).sum().dropna() - ssfi(sf) +def test_sffi_timescale(prec: Series) -> None: + ssfi(prec, timescale=30) def test_window(prec: Series, evap: Series) -> None: