示例#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)