YFDashboard / tests /contract /test_nbcsports_player_news.py
Jon Solow
Add 24 hour player news
c412d07
raw
history blame
368 Bytes
import pytest
from queries.nbcsports import player_news
@pytest.mark.parametrize("page_number", [(1), (2)])
def test_get_nfl_player_news(page_number: int):
_ = player_news.get_nfl_player_news(page_number)
@pytest.mark.parametrize("hours", [(1), (10)])
def test_get_player_news_window_hours(hours: int):
_ = player_news.get_player_news_window_hours(hours)