'Check that the response redirects to the certificates section.'

def _assert_redirects_to_instructor_dash(self, response):

    expected_redirect = reverse('instructor_dashboard', kwargs={'course_id': unicode(self.course.id)})
    expected_redirect += '#view-certificates'
    self.assertRedirects(response, expected_redirect)
