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)
def test_get_all_pitches(self): self.new_pitch.save_pitch() get_pitches = Pitch.get_all_pitches() self.assertTrue(len(get_pitches) == 1)