| Server IP : 198.244.165.102 / Your IP : 216.73.216.218 [ Web Server : nginx/1.24.0 System : Linux modovh-ub-01 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64 User : colleary ( 1011) PHP Version : 8.3.23 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /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"