o
    ¼>hR  ã                   @   s,   d dl mZ d dlmZ G dd„ deƒZdS )é    )ÚTestCase)ÚApplicationErrorc                   @   s   e Zd Zdd„ Zdd„ ZdS )ÚApplicationErrorTestCasec                 C   s   t ddƒ}|  dt|ƒ¡ dS )zi
        Unicode arguments in ApplicationError will not raise an exception when
        str()'d.
        úsome.urlõ   â˜ƒN)r   ÚassertInÚstr©ÚselfÚerror© r   ú†/var/www/vedio/testing/chatpythonscript.ninositsolution.com/env/lib/python3.10/site-packages/autobahn/wamp/test/test_wamp_exception.pyÚtest_unicode_str"   s   
z)ApplicationErrorTestCase.test_unicode_strc                 C   s*   t ddƒ}t| ¡ ƒ |  d| ¡ ¡ dS )z„
        Unicode arguments in ApplicationError will not raise an exception when
        the error_message method is called.
        r   r   N)r   ÚprintÚerror_messager   r	   r   r   r   Útest_unicode_errormessage*   s   
z2ApplicationErrorTestCase.test_unicode_errormessageN)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r   r       s    r   N)Úunittestr   Úautobahn.wamp.exceptionr   r   r   r   r   r   Ú<module>   s   