Your IP : 172.28.240.42


Current Path : /usr/lib/python2.7/dist-packages/twisted/test/
Upload File :
Current File : //usr/lib/python2.7/dist-packages/twisted/test/test_finger.pyc


[XMc@sSdZddlmZddlmZddlmZdejfdYZdS(s(
Tests for L{twisted.protocols.finger}.
i(tunittest(tfinger(tStringTransporttFingerTestCasecBs;eZdZdZdZdZdZdZRS(s%
    Tests for L{finger.Finger}.
    cCs2t|_tj|_|jj|jdS(sA
        Create and connect a L{finger.Finger} instance.
        N(Rt	transportRtFingertprotocoltmakeConnection(tself((s</usr/lib/python2.7/dist-packages/twisted/test/test_finger.pytsetUpscCs-|jjd|j|jjddS(s
        When L{finger.Finger} receives a CR LF terminated line, it responds
        with the default user status message - that no such user exists.
        smoshez
sLogin: moshez
No such user
N(RtdataReceivedtassertEqualRtvalue(R((s</usr/lib/python2.7/dist-packages/twisted/test/test_finger.pyttest_simplescCs-|jjd|j|jjddS(s
        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
sLogin: moshez
No such user
N(RR
RRR(R((s</usr/lib/python2.7/dist-packages/twisted/test/test_finger.pyttest_simpleW%scCs-|jjd|j|jjddS(s
        When L{finger.Finger} receives a request for a remote user, it responds
        with a message rejecting the request.
        smoshez@example.com
s!Finger forwarding service denied
N(RR
RRR(R((s</usr/lib/python2.7/dist-packages/twisted/test/test_finger.pyttest_forwarding0scCs-|jjd|j|jjddS(s
        When L{finger.Finger} receives a blank line, it responds with a message
        rejecting the request for all online users.
        s
sFinger online list denied
N(RR
RRR(R((s</usr/lib/python2.7/dist-packages/twisted/test/test_finger.pyt	test_list;s(t__name__t
__module__t__doc__R	R
RRR(((s</usr/lib/python2.7/dist-packages/twisted/test/test_finger.pyR
s					N(	Rt
twisted.trialRttwisted.protocolsRttwisted.test.proto_helpersRtTestCaseR(((s</usr/lib/python2.7/dist-packages/twisted/test/test_finger.pyt<module>s