コード例 #1
0
ファイル: test.py プロジェクト: sabourton/eplfl
class LeagueStanding(unittest.TestCase):
    league_html = open(league_file, "r").read()
    soup = eplfl.make_soup(league_html)

    def testGetLeagueStanding(self):
        """extract league data"""
        league_standing = eplfl.get_league_standing(self.soup)
コード例 #2
0
ファイル: test.py プロジェクト: sabourton/eplfl
 def testParseLeagueStanding(self):
     """must parse league standing"""
     soup = eplfl.make_soup(self.league_html)
コード例 #3
0
ファイル: test.py プロジェクト: sabourton/eplfl
 def testParseTeamStanding(self):
     """must parse team standing"""
     soup = eplfl.make_soup(self.team_html)