+
    Dfj                        R t ^ RIHt ^ RIHtHt ^ RIHtHt ^ RI	H
t
 ^ RIHt ]! ]P                  4       ! R R4      4       t ! R R	]
P                  4      tR
# )z,
Tests for various parts of L{twisted.web}.
)annotations)implementerverify)defer
interfaces)unittest)clientc                  >    ] tR t^tRtR R ltR R ltR R ltRtR	# )
DummyEndPointz*An endpoint that does not connect anywherec                    V ^8  d   QhRRRR/# )   
someStringstrreturnNone )formats   ">/usr/lib/python3/dist-packages/twisted/web/test/test_client.py__annotate__DummyEndPoint.__annotate__   s     % %3 %4 %    c                	    Wn         R # )Nr   )selfr   s   &&r   __init__DummyEndPoint.__init__   s    $r   c                   V ^8  d   QhRR/# )r   r   r   r   )r   s   "r   r   r      s     3 3# 3r   c                	"    R V P                    R2# )zDummyEndPoint()r   )r   s   &r   __repr__DummyEndPoint.__repr__   s    022r   c                    V ^8  d   QhRRRR/# )r   factoryzinterfaces.IProtocolFactoryr   z6defer.Deferred[dict[str, interfaces.IProtocolFactory]]r   )r   s   "r   r   r      s     4 424	?4r   c                	B    \         P                  ! \        VR 7      4      # ))r"   )r   succeeddict)r   r"   s   &&r   connectDummyEndPoint.connect   s     }}T'233r   r   N)	__name__
__module____qualname____firstlineno____doc__r   r   r&   __static_attributes__r   r   r   r
   r
      s     5%34 4r   r
   c                  2    ] tR t^!tRtR R ltR R ltRtR# )HTTPConnectionPoolTestsz2
Unit tests for L{client.HTTPConnectionPoolTest}.
c                   V ^8  d   QhRR/# r   r   r   r   )r   s   "r   r   $HTTPConnectionPoolTests.__annotate__&   s     B B Br   c                f    \        R4      p\        P                  ! \        P                  V4       R# )z@L{DummyEndPoint}s implements L{interfaces.IStreamClientEndpoint}	somethingN)r
   r   verifyObjectr   IStreamClientEndpoint)r   eps   & r   test_implements'HTTPConnectionPoolTests.test_implements&   s"    ;'J<<bAr   c                   V ^8  d   QhRR/# r1   r   )r   s   "r   r   r2   +   s     0 04 0r   c                    \         P                  ! RR7      p\        R4      pVP                  RV4      pV P	                  V4      p\        V4      pV P                  \        V4      V4       R# )z2connection L{repr()} includes endpoint's L{repr()}N)reactorthis_is_probably_unique	someplace)r   HTTPConnectionPoolr
   getConnectionsuccessResultOfreprassertIn)r   poolr7   dresultrepresentations   &     r   	test_repr!HTTPConnectionPoolTests.test_repr+   sZ    ((645{B/%%a(fd2h/r   r   N)r(   r)   r*   r+   r,   r8   rH   r-   r   r   r   r/   r/   !   s    B
0 0r   r/   N)r,   
__future__r   zope.interfacer   r   twisted.internetr   r   twisted.trialr   twisted.webr   r6   r
   TestCaser/   r   r   r   <module>rP      sQ    # . . "  Z--.4 4 /4 0h// 0r   