'Try to delete a non existing certificate. It should return status code 404 Not found.'

def test_delete_non_existing_certificate(self):

    self._add_course_certificates(count=2)
    response = self.client.delete(self._url(cid=100), content_type='application/json', HTTP_ACCEPT='application/json', HTTP_X_REQUESTED_WITH='XMLHttpRequest')
    self.assertEqual(response.status_code, 404)
