'assert signal and schedule update.'

def assert_progress_summary(self, ccx_course_key, due):

    student = UserFactory.create(is_staff=False, password='test')
    CourseEnrollment.enroll(student, ccx_course_key)
    self.assertTrue(CourseEnrollment.objects.filter(course_id=ccx_course_key, user=student).exists())
    self.client.login(username=student.username, password='test')
    progress_page_response = self.client.get(reverse('progress', kwargs={'course_id': ccx_course_key}))
    grade_summary = progress_page_response.mako_context['courseware_summary']
    chapter = grade_summary[0]
    section = chapter['sections'][0]
    progress_page_due_date = section.due.strftime('%Y-%m-%d    %H:%M')
    self.assertEqual(progress_page_due_date, due)
