| Server IP : 46.62.235.243 / Your IP : 216.73.216.163 Web Server : Apache/2.4.58 (Ubuntu) System : Linux Linkabili3Dicembre 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/twisted/test/__pycache__/ |
Upload File : |
�
oj� � �V � d Z ddlmZ ddlmZ ddlmZ G d� dej � Zy)z(
Tests for L{twisted.protocols.finger}.
� )�StringTransport)�finger)�unittestc �8 � e Zd ZdZdd�Zdd�Zdd�Zdd�Zdd�Zy) �FingerTestsz%
Tests for L{finger.Finger}.
Nc � � t � | _ t j � | _ | j j | j � y)zA
Create and connect a L{finger.Finger} instance.
N)r � transportr �Finger�protocol�makeConnection��selfs �:/usr/lib/python3/dist-packages/twisted/test/test_finger.py�setUpzFingerTests.setUp s1 � � )�*����
�
���
��
�
�$�$�T�^�^�4� c � � | j j d� | j | j j � d� y)z�
When L{finger.Finger} receives a CR LF terminated line, it responds
with the default user status message - that no such user exists.
s moshez
� Login: moshez
No such user
N�r �dataReceived�assertEqualr �valuer
s r �test_simplezFingerTests.test_simple s4 � �
�
�
�"�"�=�1�������-�-�/�1Q�Rr c � � | j j d� | j | j j � d� y)z�
The behavior for a query which begins with C{"/w"} is the same as the
behavior for one which does not. The user is reported as not existing.
s /w moshez
r Nr r
s r �test_simpleWzFingerTests.test_simpleW"