'Check that the page redirects to the "upgrade" part of the flow.'

def _assert_redirects_to_upgrade(self, response, course_id):

    url = reverse('verify_student_upgrade_and_verify', kwargs={'course_id': unicode(course_id)})
    self.assertRedirects(response, url)
