
    ht                     &    d dl mZ  G d de      Zy)    )TestCasec                       e Zd Z	 dZd Zd Zy)PluginTestsz$Plugins don't work under Python3 yetc                 F    ddl m} | j                  t        |d             y )Nr   autobahn_endpointsAutobahnClientParser)twisted.pluginsr   
assertTruehasattr)selfr   s     j/var/www/Befach/backend/env/lib/python3.12/site-packages/autobahn/twisted/test/test_tx_endpoint_plugins.pytest_importzPluginTests.test_import"   s    6 24JKL    c                     ddl m} | j                  t        |d             ddlm}m} ddlm} dj                   |d       |d            } |||       y )	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_strings         r   test_parse_client_basicz#PluginTests.test_parse_client_basic&   sN    6 24JKLT,*11 45 56
	
 	),r   N)__name__
__module____qualname__skipr   r    r   r   r   r      s    5M-r   r   N)twisted.trial.unittestr   r   r   r   r   <module>r       s   6 ,-( -r   