'Test Zendesk returning an error on ticket creation.
We should return a 500 error with no body'

def test_zendesk_error_on_create(self, zendesk_mock_class, datadog_mock):

    err = ZendeskError(msg='', error_code=404)
    zendesk_mock_instance = zendesk_mock_class.return_value
    zendesk_mock_instance.create_ticket.side_effect = err
    resp = self._build_and_run_request(self._anon_user, self._anon_fields)
    self.assertEqual(resp.status_code, 500)
    self.assertFalse(resp.content)
    self._assert_datadog_called(datadog_mock, ['issue_type:{}'.format(self._anon_fields['issue_type'])])
