'Test that certificate has not been rendered audit only course mode.'

@mock.patch.dict('django.conf.settings.FEATURES', {'CERTIFICATES_HTML_VIEW': True})
def test_certificate_info_not_in_response(self):

    response = self.client.ajax_post(self._url(), data=CERTIFICATE_JSON_WITH_SIGNATORIES)
    self.assertEqual(response.status_code, 201)
    result = self.client.get_html(self._url())
    self.assertNotIn('Test    certificate', result.content)
