'Tests course header menu should not have `Certificates` menu item
if course has not web/HTML certificates enabled.'

def test_header_menu_without_web_certs_enabled(self):

    outline_url = reverse_course_url('course_handler', self.course.id)
    resp = self.client.get(outline_url, HTTP_ACCEPT='text/html')
    self.assertEqual(resp.status_code, 200)
    self.assertNotContains(resp, '<li    class="nav-item    nav-course-settings-certificates">')
