def test_get_start_end_times(self):
        form = ScheduleSectionForm(schedule=self.schedule)
        start = '12:00 PM'
        end = '01:00 PM'
        data = {'time_start': start, 'time_end': end}
        start_time, end_time = form._get_start_end_times(data)
        self.assertEqual(start, start_time.strftime('%I:%M %p'))
        self.assertEqual(end, end_time.strftime('%I:%M %p'))
Test private method to convert start and end times based off
dataset/ETHPy150Open pinax/symposion/symposion/schedule/tests/test_forms.py/ScheduleSectionFormTests.test_get_start_end_times