'Visits the about page for `course_id` and tests that both the text "Classes End", as well
as the specified `expected_end_text`, is present on the page.
If `expected_end_text` is None, verifies that the about page *does not* contain the text
"Classes End".'

def verify_end_date(self, course_id, expected_end_text=None):

    result = self.client.get(reverse('about_course', args=[unicode(course_id)]))
    if (expected_end_text is not None):
        self.assertContains(result, 'Classes    End')
        self.assertContains(result, expected_end_text)
    else:
        self.assertNotContains(result, 'Classes    End')
