Ejemplo n.º 1
0
 def test_typical_zero(self):
     soup = BeautifulSoupHelper.get_soup_from_url(
         GetUmpRunsTest.HTML_LOCATION)
     ump_runs = RotoWire.get_ump_runs_per_game(soup)
     self.assertEqual(ump_runs, 10.98)
Ejemplo n.º 2
0
 def test_typical_negative(self):
     soup = BeautifulSoupHelper.get_soup_from_url(
         GetWindSpeedTest.HTML_LOCATION_NEGATIVE)
     wind_speed = RotoWire.get_wind_speed(soup)
     self.assertEqual(wind_speed, -9)
Ejemplo n.º 3
0
 def test_typical_zero(self):
     soup = BeautifulSoupHelper.get_soup_from_url(
         GetWindSpeedTest.HTML_LOCATION_ZERO)
     wind_speed = get_wind_speed(soup)
     self.assertEqual(wind_speed, 0)
Ejemplo n.º 4
0
 def test_typical_zero(self):
     soup = BeautifulSoupHelper.get_soup_from_url(GetUmpRunsTest.HTML_LOCATION)
     ump_runs = RotoWire.get_ump_runs_per_game(soup)
     self.assertEqual(ump_runs, 10.98)
Ejemplo n.º 5
0
 def test_typical_negative(self):
     soup = BeautifulSoupHelper.get_soup_from_url(GetWindSpeedTest.HTML_LOCATION_NEGATIVE)
     wind_speed = RotoWire.get_wind_speed(soup)
     self.assertEqual(wind_speed, -9)
Ejemplo n.º 6
0
 def test_typical_zero(self):
     soup = BeautifulSoupHelper.get_soup_from_url(GetWindSpeedTest.HTML_LOCATION_ZERO)
     wind_speed = get_wind_speed(soup)
     self.assertEqual(wind_speed, 0)