Add missing tests

This commit is contained in:
chris committed 2026-02-25 23:18:15 -05:00
1 parent 1ff14703c8
commit 7da5cf2b29
1 file changed
+5 -1
+5 -1
View File
@@ -49,9 +49,13 @@ def test_get_next_draw_date_specified_from_date() -> None:
@pytest.mark.parametrize("game", ['powerball', 'mega-millions'])
def test_scrape_game_history(game) -> None:
"""Test scraping the powerball result page for 1996."""
"""Test scraping the powerball result page for 1996, 2020, and current year."""
scrape_data = sc.scrape_game_history(game, year=1996)
assert len(scrape_data) in [17, 104]
scrape_data = sc.scrape_game_history(game, year=2020)
assert len(scrape_data) in [104, 105]
scrape_data = sc.scrape_game_history(game)
assert len(scrape_data) in range(0, 105)
def test_calculate_odds() -> None: