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

def test_delete_signatory_non_existing_certificate(self):

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