We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4c4533a + 347fd6f commit 3bf289fCopy full SHA for 3bf289f
tests/test_avg_func.py
@@ -27,7 +27,8 @@ def test_single_overlapping_day():
27
result = average_probabilities(poly, kalshi)
28
assert result is not None
29
assert len(result) == 1
30
- assert result["Average (%)"].iloc[0] == 50.0
+ EXPECTED_AVG = 50.0
31
+ assert result["Average (%)"].iloc[0] == EXPECTED_AVG
32
33
# Test 2: when polymarket has no data --> function returns empty result, not crash.
34
def test_empty_poly():
0 commit comments