Change test name and call to reflect new function name
This commit is contained in:
1 parent
45fb8cf0c3
commit
cf9857defb
1 file changed
+2
-2
+2
-2
@@ -47,7 +47,7 @@ def test_get_next_draw_date_specified_from_date() -> None:
|
|||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize("game", ['powerball', 'mega-millions'])
|
@pytest.mark.parametrize("game", ['powerball', 'mega-millions'])
|
||||||
def test_scrape_url(game) -> None:
|
def test_scrape_game_history(game) -> None:
|
||||||
"""Test scraping the powerball result page for 1996."""
|
"""Test scraping the powerball result page for 1996."""
|
||||||
scrape_data = sc.scrape_url(game, year=1996)
|
scrape_data = sc.scrape_game_history(game, year=1996)
|
||||||
assert len(scrape_data) in [17, 104]
|
assert len(scrape_data) in [17, 104]
|
||||||
Reference in new issue
Block a user