def __init__(self, api_endpoint):

        self.api_endpoint = api_endpoint

        HTTPretty.register_uri(
            HTTPretty.POST,
            self.api_endpoint,
            body=example_export_response,
            content_type="application/json"
        )
:param api_endpoint: name of the API end point
dataset/ETHPy150Open andycasey/ads/ads/tests/mocks.py/MockExportResponse.__init__