| Server IP : 139.59.63.204 / Your IP : 216.73.217.62 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ubuntu-s-1vcpu-1gb-blr1-01 6.8.0-110-generic #110-Ubuntu SMP PREEMPT_DYNAMIC Thu Mar 19 15:09:20 UTC 2026 x86_64 User : root ( 0) PHP Version : 8.3.6 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"