Exemple #1
0
 def test_get_all_pitches(self):
   '''
   Test to see if we can get all saved pitches
   ''' 
   self.new_pitch.save_pitch()
   got_pitches = Pitch.get_all_pitches()
   self.assertTrue(len(got_pitches) == 1)  
Exemple #2
0
 def test_get_all_pitches(self):
     self.new_pitch.save_pitch()
     get_pitches = Pitch.get_all_pitches()
     self.assertTrue(len(get_pitches) == 1)