Exemple #1
0
 def test_load_salaries(self):
     dk = DraftKings()
     dk.load_salaries()
     print "DK_Salary Length = ", len(dk.salaries)
     self.assertGreaterEqual(len(dk.salaries), 100)
Exemple #2
0
 def test_get_single_player_data(self):
     dk = DraftKings()
     dk.load_salaries()
     antonio_brown_data = dk.get_single_player_data(playername='Antonio Brown')
     print "Antonio Brown Data = ", antonio_brown_data
     self.assertGreaterEqual(antonio_brown_data['Salary'], 1000)