コード例 #1
0
ファイル: test_download.py プロジェクト: rogerfan/pitchfxpy
 def test_springtrain_game(self):
     url = self.urlstub + "month_03/day_11/gid_2012_03_11_chamlb_colmlb_1/"
     assert not download._confirm_regular_game(url)
コード例 #2
0
ファイル: test_download.py プロジェクト: rogerfan/pitchfxpy
 def test_allstar_game(self):
     url = self.urlstub + "month_07/day_10/gid_2012_07_10_nasmlb_aasmlb_1/"
     assert not download._confirm_regular_game(url)
コード例 #3
0
ファイル: test_download.py プロジェクト: rogerfan/pitchfxpy
 def test_error_game(self):
     url = self.urlstub + "month_06/day_10/gid_2012_06_10_tbamlb_flomlb_1"
     assert not download._confirm_regular_game(url)
コード例 #4
0
ファイル: test_download.py プロジェクト: rogerfan/pitchfxpy
 def test_playoff_game(self):
     url = self.urlstub + "month_10/day_06/gid_2012_10_06_oakmlb_detmlb_1/"
     assert not download._confirm_regular_game(url)
コード例 #5
0
ファイル: test_download.py プロジェクト: rogerfan/pitchfxpy
 def test_regular_game(self):
     url = self.urlstub + "/month_06/day_10/gid_2012_06_10_nynmlb_nyamlb_1"
     assert download._confirm_regular_game(url)