'Mock Zendesk\'s ticket creation API.'

def _mock_zendesk_api(self, status=201):

    httpretty.register_uri(httpretty.POST, urljoin(ZENDESK_URL, u'/api/v2/tickets.json'), status=status, body=u'{}', content_type=JSON)
