Spaces:
Sleeping
Sleeping
Jon Solow
commited on
Commit
·
1f1a2a2
1
Parent(s):
300c053
Add contract test for practice reports
Browse files
tests/contract/test_nfl_teams_practice_reports.py
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import pytest
|
2 |
+
|
3 |
+
from domain import teams
|
4 |
+
from queries.nfl_teams import practice_reports
|
5 |
+
|
6 |
+
|
7 |
+
@pytest.mark.parametrize("team", [(x) for x in teams.ALL_TEAMS])
|
8 |
+
def test_scrape_team_injury_report(team):
|
9 |
+
_ = practice_reports.scrape_team_injury_report(team)
|