예제 #1
0
 def test_load_by_season_bad_season_high(self):
     with pytest.raises(ValueError):
         bad_season = SeasonStatsheet.load_by_season(999)
예제 #2
0
 def test_load_by_season(self):
     sheet = SeasonStatsheet.load_by_season(4)
     assert isinstance(sheet, SeasonStatsheet)