def test_load_by_season_bad_season_high(self): with pytest.raises(ValueError): bad_season = SeasonStatsheet.load_by_season(999)
def test_load_by_season(self): sheet = SeasonStatsheet.load_by_season(4) assert isinstance(sheet, SeasonStatsheet)