o
    ¼>ht  ã                   @   s    d dl mZ G dd„ deƒZdS )é    )ÚTestCasec                   @   s"   e Zd Z	 dZdd„ Zdd„ ZdS )ÚPluginTestsTz$Plugins don't work under Python3 yetc                 C   s    ddl m} |  t|dƒ¡ d S )Nr   ©Úautobahn_endpointsÚAutobahnClientParser)Útwisted.pluginsr   Ú
assertTrueÚhasattr)Úselfr   © r   úŽ/var/www/vedio/testing/chatpythonscript.ninositsolution.com/env/lib/python3.10/site-packages/autobahn/twisted/test/test_tx_endpoint_plugins.pyÚtest_import"   s   zPluginTests.test_importc                 C   sZ   ddl m} |  t|dƒ¡ ddlm}m} ddlm} d 	|dƒ|dƒ¡}|||ƒ d S )	Nr   r   r   )ÚclientFromStringÚquoteStringArgument)Úreactorzautobahn:{0}:url={1}ztcp:localhost:9000zws://localhost:9000)
r   r   r   r	   Útwisted.internet.endpointsr   r   Útwisted.internetr   Úformat)r
   r   r   r   r   Ú	ep_stringr   r   r   Útest_parse_client_basic&   s   þz#PluginTests.test_parse_client_basicN)Ú__name__Ú
__module__Ú__qualname__Úskipr   r   r   r   r   r   r      s
    r   N)Útwisted.trial.unittestr   r   r   r   r   r   Ú<module>   s   