def test_yesterdays_game_typical(self):
     HTML_LOCATION = "game_log_steven_wright.html"
     ID = "wrighst01"
     soup = BeautifulSoupHelper.get_soup_from_url(HTML_LOCATION)
     game_date = date(day=27, month=4, year=2016)
     game_stats = BaseballReference.get_pitching_game_log(ID, soup, game_date)
     self.assertEqual(float(game_stats["IP"]), 7.0)
 def test_yesterdays_game_typical(self):
     HTML_LOCATION = "game_log_steven_wright.html"
     ID = "wrighst01"
     soup = BeautifulSoupHelper.get_soup_from_url(HTML_LOCATION)
     game_date = date(day=27, month=4, year=2016)
     game_stats = BaseballReference.get_pitching_game_log(
         ID, soup, game_date)
     self.assertEqual(float(game_stats["IP"]), 7.0)