Пример #1
0
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
 def testParseLeagueStanding(self):
     """must parse league standing"""
     soup = eplfl.make_soup(self.league_html)
Пример #3
0
 def testParseTeamStanding(self):
     """must parse team standing"""
     soup = eplfl.make_soup(self.team_html)