예제 #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)