test: update test to ensure rel_mean is reasonable

This commit is contained in:
Matthias
2025-12-04 21:14:27 +01:00
parent fe95581acd
commit e792bafe21

View File

@@ -306,6 +306,7 @@ def test_combined_dataframes_with_rel_mean(testdatadir):
assert df.iloc[0]["count"] == 2
assert df.iloc[-1]["count"] == 2
assert len(df) < len(data["BTC/USDT"])
assert df["rel_mean"].between(-0.5, 0.5).all()
def test_combine_dataframes_with_mean_no_data(testdatadir):