def failing(request): raise api.AuthenticationError('Too bad')
def raise_exc(_): raise api.AuthenticationError('OMG, bad token')
def failing(request): raise api.AuthenticationError('Too bad')
def raise_exc(_): raise api.AuthenticationError('OMG, bad token')