'Tests audit course mode is skipped when rendering certificates page.'

def test_audit_course_mode_is_skipped(self):

    CourseModeFactory.create(course_id=self.course.id)
    CourseModeFactory.create(course_id=self.course.id, mode_slug='verified')
    response = self.client.get_html(self._url())
    self.assertEqual(response.status_code, 200)
    self.assertContains(response, 'verified')
    self.assertNotContains(response, 'audit')
