addons14/base_rest_demo/services/exception_services.py
def session_expired(self):
        """
        Simulate an odoo.http.SessionExpiredException
        Should be translated into Unauthorized without description into the
        json body
        """
        raise SessionExpiredException("Expired message")

        Simulate an odoo.http.SessionExpiredException
        Should be translated into Unauthorized without description into the
        json body
        
Simulate an odoo.http.SessionExpiredException
Should be translated into Unauthorized without description into the
json body
Simulate an odoo . http . SessionExpiredException Should be translated into Unauthorized without description into the json body
def session_expired(self):
        raise SessionExpiredException("Expired message")
def session_expired ( self ) : raise SessionExpiredException ( "Expired message" )
Simulate an odoo.http.SessionExpiredException
Should be translated into Unauthorized without description into the
json body
Simulate an odoo . http . SessionExpiredException Should be translated into Unauthorized without description into the json body
"""
        Simulate an odoo.http.SessionExpiredException
        Should be translated into Unauthorized without description into the
        json body
        """
self