Skip to content

Commit

Permalink
test(fbref): Add test for FBref.available_leagues
Browse files Browse the repository at this point in the history
See #629
  • Loading branch information
probberechts committed Jul 6, 2024
1 parent 0ef3909 commit fefc223
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/test_FBref.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@
from soccerdata.fbref import FBref, _concat


def test_available_leagues() -> None:
assert sd.FBref.available_leagues() == [
"Big 5 European Leagues Combined",
"ENG-Premier League",
"ESP-La Liga",
"FRA-Ligue 1",
"GER-Bundesliga",
"INT-European Championship",
"INT-Women's World Cup",
"INT-World Cup",
"ITA-Serie A",
]


@pytest.mark.parametrize(
"stat_type",
[
Expand Down

0 comments on commit fefc223

Please sign in to comment.