'Register a mock response for POST and DELETE on the CS user subscription
endpoint'

def register_subscription_response(self, user):

    for method in [httpretty.POST, httpretty.DELETE]:
        httpretty.register_uri(method, u'http://localhost:4567/api/v1/users/{id}/subscriptions'.format(id=user.id), body=json.dumps({}), status=200)
