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)
def testParseLeagueStanding(self): """must parse league standing""" soup = eplfl.make_soup(self.league_html)
def testParseTeamStanding(self): """must parse team standing""" soup = eplfl.make_soup(self.team_html)