ó
    Ö›‘hþA  ã                  ó2  • S r SSKJr  SSKJr  SSKJr  SSKJr  SSK	J
r
  SSKJrJrJrJrJrJrJrJrJr  SSKJrJr  SS	KJrJrJrJr  SS
KJr  SSKJ r    " S S\ 5      r! " S S\ 5      r" " S S5      r# " S S\ 5      r$ " S S\5      r% " S S\ 5      r&g)z(
Tests for L{twisted.internet.testing}.
é    )Úannotations)ÚCallable)ÚverifyObject)ÚProtocol)ÚIPv4Address)	ÚIAddressÚ
IConnectorÚ	IConsumerÚIListeningPortÚIPushProducerÚIReactorSSLÚIReactorTCPÚIReactorUNIXÚ
ITransport)ÚClientFactoryÚFactory)ÚMemoryReactorÚNonStreamingProducerÚRaisingMemoryReactorÚStringTransport)ÚnamedAny)ÚTestCasec                  óÖ   • \ rS rSrSrSS jrSS jrSS jrSS jrSS jr	SS jr
SS	 jrSS
 jrSS jrSS jrSS jrSS jrSS jrSS jrSS jrSS jrSS jrSS jrSS jrSrg)ÚStringTransportTestsé&   z8
Tests for L{twisted.internet.testing.StringTransport}.
c                ó"   • [        5       U l        g ©N)r   Ú	transport©Úselfs    ÚfC:\Users\psant\Downloads\Noiseback\school\venv\Lib\site-packages\twisted/internet/test/test_testing.pyÚsetUpÚStringTransportTests.setUp+   s   € Ü(Ó*ˆ�ó    c                óú   • U R                  [        [        U R                  5      5        U R                  [        [        U R                  5      5        U R                  [        [
        U R                  5      5        g)zY
L{StringTransport} instances provide L{ITransport}, L{IPushProducer},
and L{IConsumer}.
N)Ú
assertTruer   r   r   r   r
   r   s    r!   Útest_interfacesÚ$StringTransportTests.test_interfaces.   sI   € ð
 	�‰œ¤Z°·±Ó@ÔAØ�‰œ¤]°D·N±NÓCÔDØ�‰œ¤Y°·±Ó?Õ@r$   c                óú   • [        5       n[        5       nU R                  R                  X5        U R                  U R                  R                  U5        U R                  U R                  R
                  U5        g)zb
L{StringTransport.registerProducer} records the arguments supplied to
it as instance attributes.
N)Úobjectr   ÚregisterProducerÚassertIsÚproducerÚ	streaming©r    r-   r.   s      r!   Útest_registerProducerÚ*StringTransportTests.test_registerProducer7   sT   € ô
 “8ˆÜ“Hˆ	Ø�‰×'Ñ'¨Ô<Ø�‰�d—n‘n×-Ñ-¨xÔ8Ø�‰�d—n‘n×.Ñ.°	Õ:r$   c                óN  • [        5       nU R                  R                  US5        U R                  [        U R                  R                  [        5       S5        U R                  U R                  R                  U5        U R                  U R                  R                  5        g)za
L{StringTransport.registerProducer} raises L{RuntimeError} if a
producer is already registered.
TFN)	r*   r   r+   ÚassertRaisesÚRuntimeErrorr,   r-   r&   r.   )r    r-   s     r!   Útest_disallowedRegisterProducerÚ4StringTransportTests.test_disallowedRegisterProducerB   sr   € ô
 “8ˆØ�‰×'Ñ'¨°$Ô7Ø×ÑÜ˜$Ÿ.™.×9Ñ9¼6»8ÀUô	
ð 	�‰�d—n‘n×-Ñ-¨xÔ8Ø�‰˜Ÿ™×0Ñ0Õ1r$   c                ó°  • [        5       n[        5       nU R                  R                  US5        U R                  R                  5         U R	                  U R                  R
                  5        U R                  R                  US5        U R                  U R                  R
                  U5        U R                  U R                  R                  5        g)z‘
L{StringTransport.unregisterProducer} causes the transport to forget
about the registered producer and makes it possible to register a new
one.
FTN)	r*   r   r+   ÚunregisterProducerÚassertIsNoner-   r,   r&   r.   )r    ÚoldProducerÚnewProducers      r!   Útest_unregisterProducerÚ,StringTransportTests.test_unregisterProducerO   s�   € ô “hˆÜ“hˆØ�‰×'Ñ'¨°UÔ;Ø�‰×)Ñ)Ô+Ø×Ñ˜$Ÿ.™.×1Ñ1Ô2Ø�‰×'Ñ'¨°TÔ:Ø�‰�d—n‘n×-Ñ-¨{Ô;Ø�‰˜Ÿ™×0Ñ0Õ1r$   c                óX   • U R                  [        U R                  R                  5        g)zh
L{StringTransport.unregisterProducer} raises L{RuntimeError} if called
when no producer is registered.
N)r3   r4   r   r8   r   s    r!   Útest_invalidUnregisterProducerÚ3StringTransportTests.test_invalidUnregisterProducer^   s   € ð
 	×Ñœ,¨¯©×(IÑ(IÕJr$   c                óP   • U R                  U R                  R                  S5        g)z?
L{StringTransport.producerState} is initially C{'producing'}.
Ú	producingN)ÚassertEqualr   ÚproducerStater   s    r!   Útest_initialProducerStateÚ.StringTransportTests.test_initialProducerStatee   s   € ð 	×Ñ˜Ÿ™×5Ñ5°{ÕCr$   c                ó„   • U R                   R                  5         U R                  U R                   R                  S5        g)za
L{StringTransport.pauseProducing} changes the C{producerState} of the
transport to C{'paused'}.
ÚpausedN)r   ÚpauseProducingrC   rD   r   s    r!   Útest_pauseProducingÚ(StringTransportTests.test_pauseProducingk   s.   € ð
 	�‰×%Ñ%Ô'Ø×Ñ˜Ÿ™×5Ñ5°xÕ@r$   c                ó¸   • U R                   R                  5         U R                   R                  5         U R                  U R                   R                  S5        g)ze
L{StringTransport.resumeProducing} changes the C{producerState} of the
transport to C{'producing'}.
rB   N)r   rI   ÚresumeProducingrC   rD   r   s    r!   Útest_resumeProducingÚ)StringTransportTests.test_resumeProducings   s>   € ð
 	�‰×%Ñ%Ô'Ø�‰×&Ñ&Ô(Ø×Ñ˜Ÿ™×5Ñ5°{ÕCr$   c                ó„   • U R                   R                  5         U R                  U R                   R                  S5        g)zc
L{StringTransport.stopProducing} changes the C{'producerState'} of the
transport to C{'stopped'}.
ÚstoppedN)r   ÚstopProducingrC   rD   r   s    r!   Útest_stopProducingÚ'StringTransportTests.test_stopProducing|   s.   € ð
 	�‰×$Ñ$Ô&Ø×Ñ˜Ÿ™×5Ñ5°yÕAr$   c                óŒ   • U R                   R                  5         U R                  [        U R                   R                  5        g)z]
L{StringTransport.pauseProducing} raises L{RuntimeError} if the
transport has been stopped.
N)r   rR   r3   r4   rI   r   s    r!   Ú test_stoppedTransportCannotPauseÚ5StringTransportTests.test_stoppedTransportCannotPause„   s.   € ð
 	�‰×$Ñ$Ô&Ø×Ñœ,¨¯©×(EÑ(EÕFr$   c                óŒ   • U R                   R                  5         U R                  [        U R                   R                  5        g)z^
L{StringTransport.resumeProducing} raises L{RuntimeError} if the
transport has been stopped.
N)r   rR   r3   r4   rM   r   s    r!   Ú!test_stoppedTransportCannotResumeÚ6StringTransportTests.test_stoppedTransportCannotResumeŒ   s.   € ð
 	�‰×$Ñ$Ô&Ø×Ñœ,¨¯©×(FÑ(FÕGr$   c                óŒ   • U R                   R                  5         U R                  [        U R                   R                  5        g)zb
L{StringTransport.pauseProducing} raises L{RuntimeError} if the
transport is being disconnected.
N)r   ÚloseConnectionr3   r4   rI   r   s    r!   Ú&test_disconnectingTransportCannotPauseÚ;StringTransportTests.test_disconnectingTransportCannotPause”   s.   € ð
 	�‰×%Ñ%Ô'Ø×Ñœ,¨¯©×(EÑ(EÕFr$   c                óŒ   • U R                   R                  5         U R                  [        U R                   R                  5        g)zc
L{StringTransport.resumeProducing} raises L{RuntimeError} if the
transport is being disconnected.
N)r   r\   r3   r4   rM   r   s    r!   Ú'test_disconnectingTransportCannotResumeÚ<StringTransportTests.test_disconnectingTransportCannotResumeœ   s.   € ð
 	�‰×%Ñ%Ô'Ø×Ñœ,¨¯©×(FÑ(FÕGr$   c                óÌ   • U R                  U R                  R                  5        U R                  R                  5         U R	                  U R                  R                  5        g)z^
L{StringTransport.loseConnection} toggles the C{disconnecting} instance
variable to C{True}.
N)ÚassertFalser   Údisconnectingr\   r&   r   s    r!   Ú$test_loseConnectionSetsDisconnectingÚ9StringTransportTests.test_loseConnectionSetsDisconnecting¤   sB   € ð
 	×Ñ˜Ÿ™×5Ñ5Ô6Ø�‰×%Ñ%Ô'Ø�‰˜Ÿ™×4Ñ4Õ5r$   c                ój   • [        5       nU R                  [        U5      R                  5       U5        g)zu
If a host address is passed to L{StringTransport.__init__}, that
value is returned from L{StringTransport.getHost}.
N)r*   r,   r   ÚgetHost©r    Úaddresss     r!   Útest_specifiedHostAddressÚ.StringTransportTests.test_specifiedHostAddress­   s'   € ô
 “(ˆØ�‰”o gÓ.×6Ñ6Ó8¸'ÕBr$   c                óf   • [        5       nU R                  [        US9R                  5       U5        g)zu
If a peer address is passed to L{StringTransport.__init__}, that
value is returned from L{StringTransport.getPeer}.
)ÚpeerAddressN)r*   r,   r   ÚgetPeerri   s     r!   Útest_specifiedPeerAddressÚ.StringTransportTests.test_specifiedPeerAddressµ   s'   € ô
 “(ˆØ�‰”o°'Ñ:×BÑBÓDÀgÕNr$   c                ó`   • [        5       R                  5       nU R                  U[        5        g)z}
If no host address is passed to L{StringTransport.__init__}, an
L{IPv4Address} is returned from L{StringTransport.getHost}.
N)r   rh   ÚassertIsInstancer   ri   s     r!   Útest_defaultHostAddressÚ,StringTransportTests.test_defaultHostAddress½   ó%   € ô
 "Ó#×+Ñ+Ó-ˆØ×Ñ˜g¤{Õ3r$   c                ó`   • [        5       R                  5       nU R                  U[        5        g)z}
If no peer address is passed to L{StringTransport.__init__}, an
L{IPv4Address} is returned from L{StringTransport.getPeer}.
N)r   ro   rs   r   ri   s     r!   Útest_defaultPeerAddressÚ,StringTransportTests.test_defaultPeerAddressÅ   rv   r$   )r   N©ÚreturnÚNone)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r"   r'   r0   r5   r<   r?   rE   rJ   rN   rS   rV   rY   r]   r`   re   rk   rp   rt   rx   Ú__static_attributes__© r$   r!   r   r   &   sr   † ñô+ôAô	;ô2ô2ôKôDôAôDôBôGôHôGôHô6ôCôOô4÷4r$   r   c                  óT   • \ rS rSrSrSS jrSS jrSS jrSS jrSS jr	SS jr
S	rg
)ÚReactorTestséÎ   z9
Tests for L{MemoryReactor} and L{RaisingMemoryReactor}.
c                óx   • [        5       n[        [        U5        [        [        U5        [        [        U5        g)z\
L{MemoryReactor} provides all of the attributes described by the
interfaces it advertises.
N)r   r   r   r   r   )r    ÚmemoryReactors     r!   Útest_memoryReactorProvidesÚ'ReactorTests.test_memoryReactorProvidesÓ   s)   € ô
 &›ˆÜ”[ -Ô0Ü”[ -Ô0Ü”\ =Õ1r$   c                óx   • [        5       n[        [        U5        [        [        U5        [        [        U5        g)zc
L{RaisingMemoryReactor} provides all of the attributes described by the
interfaces it advertises.
N)r   r   r   r   r   )r    ÚraisingReactors     r!   Útest_raisingReactorProvidesÚ(ReactorTests.test_raisingReactorProvidesÝ   s*   € ô
 .Ó/ˆÜ”[ .Ô1Ü”[ .Ô1Ü”\ >Õ2r$   c                ó0  • [        5       nUR                  SS[        5       5      UR                  SS[        5       S5      4 Hk  n[	        [
        U5        UR                  5       n[	        [        U5        U R                  UR                  S5        U R                  UR                  S5        Mm     UR                  S[        5       5      n[	        [
        U5        UR                  5       n[	        [        U5        U R                  UR                  S5        g)zà
L{MemoryReactor.connectTCP}, L{MemoryReactor.connectSSL}, and
L{MemoryReactor.connectUNIX} will return an L{IConnector} whose
C{getDestination} method returns an L{IAddress} with attributes which
reflect the values passed.
ztest.example.comi�   Ns
   /fake/path)r   Ú
connectTCPr   Ú
connectSSLr   r	   ÚgetDestinationr   rC   ÚhostÚportÚconnectUNIXÚname)r    rˆ   Ú	connectorrj   s       r!   Útest_connectDestinationÚ$ReactorTests.test_connectDestinationç   sÝ   € ô &›ˆà×$Ñ$Ð%7¸¼}»ÓOØ×$Ñ$Ð%7¸¼}»ÐPTÓUó
ˆIô œ YÔ/Ø×.Ñ.Ó0ˆGÜœ 7Ô+Ø×Ñ˜WŸ\™\Ð+=Ô>Ø×Ñ˜WŸ\™\¨4Ö0ñ
ð "×-Ñ-¨m¼]»_ÓMˆ	Ü”Z Ô+Ø×*Ñ*Ó,ˆÜ”X˜wÔ'Ø×Ñ˜Ÿ™ }Õ5r$   c                ó,  • [        5       nUR                  S[        5       5      UR                  S[        5       S5      4 Hk  n[	        [
        U5        UR                  5       n[	        [        U5        U R                  UR                  S5        U R                  UR                  S5        Mm     UR                  S[        5       5      n[	        [
        U5        UR                  5       n[	        [        U5        U R                  UR                  S5        g)a^  
L{MemoryReactor.listenTCP}, L{MemoryReactor.listenSSL} and
L{MemoryReactor.listenUNIX} will return an L{IListeningPort} whose
C{getHost} method returns an L{IAddress}; C{listenTCP} and C{listenSSL}
will have a default host of C{'0.0.0.0'}, and a port that reflects the
value passed, and C{listenUNIX} will have a name that reflects the path
passed.
i2   Nz0.0.0.0s   /path/to/socket)r   Ú	listenTCPr   Ú	listenSSLr   r   rh   r   rC   r“   r”   Ú
listenUNIXr–   )r    rˆ   r”   rj   s       r!   Útest_listenDefaultHostÚ#ReactorTests.test_listenDefaultHostþ   sÑ   € ô &›ˆà×#Ñ# D¬'«)Ó4Ø×#Ñ# D¬'«)°TÓ:ó
ˆDô œ¨Ô.Ø—l‘l“nˆGÜœ 7Ô+Ø×Ñ˜WŸ\™\¨9Ô5Ø×Ñ˜WŸ\™\¨4Ö0ñ
ð ×'Ñ'Ð(:¼G»IÓFˆÜ”^ TÔ*Ø—,‘,“.ˆÜ”X˜wÔ'Ø×Ñ˜Ÿ™Ð'9Õ:r$   c                ó  • [        5       n[        5       nUR                  U5        UR                  U5        U R                  UR	                  5       U/5        UR                  U5        U R                  UR	                  5       / 5        g)z.
Adding, removing, and listing readers works.
N)r*   r   Ú	addReaderrC   Ú
getReadersÚremoveReader)r    ÚreaderÚreactors      r!   Útest_readersÚReactorTests.test_readers  óp   € ô “ˆÜ“/ˆà×Ñ˜&Ô!Ø×Ñ˜&Ô!à×Ñ˜×+Ñ+Ó-°¨xÔ8à×Ñ˜VÔ$à×Ñ˜×+Ñ+Ó-¨rÕ2r$   c                ó  • [        5       n[        5       nUR                  U5        UR                  U5        U R                  UR	                  5       U/5        UR                  U5        U R                  UR	                  5       / 5        g)z.
Adding, removing, and listing writers works.
N)r*   r   Ú	addWriterrC   Ú
getWritersÚremoveWriter)r    Úwriterr¥   s      r!   Útest_writersÚReactorTests.test_writers'  r¨   r$   rƒ   Nrz   )r}   r~   r   r€   r�   r‰   r�   r˜   rž   r¦   r®   r‚   rƒ   r$   r!   r…   r…   Î   s%   † ñô2ô3ô6ô.;ô23÷ 3r$   r…   c                  ó@   • \ rS rSrSrS	S jrS
S jrS	S jrSS jrSr	g)ÚTestConsumeri8  zH
A very basic test consumer for use with the NonStreamingProducerTests.
c                ó.   • / U l         S U l        S U l        g r   )Úwritesr-   ÚproducerStreamingr   s    r!   Ú__init__ÚTestConsumer.__init__=  s   € Ø#%ˆŒØ $ˆŒØ.2ˆÕr$   c                ó   • Xl         X l        g)z·
Registers a single producer with this consumer. Just keeps track of it.

@param producer: The producer to register.
@param streaming: Whether the producer is a streaming one or not.
N©r-   r´   r/   s      r!   r+   ÚTestConsumer.registerProducerB  s   € ð !ŒØ!*Õr$   c                ó    • SU l         SU l        g)z3
Forget the producer we had previously registered.
Nr¸   r   s    r!   r8   ÚTestConsumer.unregisterProducerL  s   € ð ˆŒØ!%ˆÕr$   c                ó:   • U R                   R                  U5        g)zb
Some data was written to the consumer: stores it for later use.

@param data: The data to write.
N)r³   Úappend)r    Údatas     r!   ÚwriteÚTestConsumer.writeS  s   € ð 	�‰×Ñ˜4Õ r$   )r-   r´   r³   Nrz   )r-   r*   r.   Úboolr{   r|   )r¾   Úbytesr{   r|   )
r}   r~   r   r€   r�   rµ   r+   r8   r¿   r‚   rƒ   r$   r!   r±   r±   8  s   † ñô3ô
+ô&÷!r$   r±   c                  ó,   • \ rS rSrSrSS jrSS jrSrg)ÚNonStreamingProducerTestsi\  z>
Tests for the L{NonStreamingProducer} to validate behaviour.
c                ó^  • [        5       n[        U5      nUR                  US5        U R                  UR                  U5        U R                  UR
                  U5        U R                  UR                  5        [        S5       H  nUR                  5         M     / SQnU R                  UR                  5        U R                  UR                  5        U R                  UR
                  5        U R                  UR                  U5        U R                  [        UR                  5        g)zw
When the L{NonStreamingProducer} has resumeProducing called 10 times,
it writes the counter each time and then fails.
Fé
   )
ó   0ó   1ó   2ó   3ó   4ó   5ó   6ó   7ó   8ó   9N)r±   r   r+   r,   r-   Úconsumerrc   r´   ÚrangerM   r9   rC   r³   r3   r4   )r    rÑ   r-   Ú_ÚexpectedWritess        r!   Útest_producesOnly10TimesÚ2NonStreamingProducerTests.test_producesOnly10Timesa  së   € ô
  “>ˆÜ'¨Ó1ˆØ×!Ñ! (¨EÔ2à�‰�h×'Ñ'¨Ô2Ø�‰�h×'Ñ'¨Ô2Ø×Ñ˜×3Ñ3Ô4ä�r–ˆAØ×$Ñ$Ö&ñ ò VˆØ×Ñ˜(×+Ñ+Ô,Ø×Ñ˜(×4Ñ4Ô5Ø×Ñ˜(×+Ñ+Ô,Ø×Ñ˜Ÿ™¨.Ô9ð 	×Ñœ,¨×(@Ñ(@ÕAr$   c                ó²   • [        5       n[        U5      nUR                  US5        UR                  5         U R	                  [
        UR                  5        g)zJ
When the L{NonStreamingProducer} is paused, it raises a
L{RuntimeError}.
FN)r±   r   r+   rM   r3   r4   rI   )r    rÑ   r-   s      r!   Útest_cannotPauseProductionÚ4NonStreamingProducerTests.test_cannotPauseProduction{  sI   € ô
  “>ˆÜ'¨Ó1ˆØ×!Ñ! (¨EÔ2ð 	× Ñ Ô"à×Ñœ,¨×(?Ñ(?Õ@r$   rƒ   Nrz   )r}   r~   r   r€   r�   rÕ   rØ   r‚   rƒ   r$   r!   rÄ   rÄ   \  s   † ñôB÷4Ar$   rÄ   c                  ó(   • \ rS rSr\SS j5       r Srg)Ú_SupportsNameiŠ  c                ó   • g r   rƒ   r   s    r!   r}   Ú_SupportsName.__name__‹  s   € àr$   rƒ   N)r{   Ústr)r}   r~   r   r€   Úpropertyr‚   rƒ   r$   r!   rÛ   rÛ   Š  s   † Øóó ór$   rÛ   c                  ó®   • \ rS rSrSrSS jrSS jrSS jrSS jrSS jr	SS jr
SS	 jrSS
 jrSS jrSS jrSS jrSS jrSS jrSS jrSS jrSrg)ÚDeprecationTestsi�  z0
Deprecations in L{twisted.test.proto_helpers}.
c                ó  • SUR                    3nU R                  U/5      nU R                  [        US   S   5        U R                  S[	        U5      5        U R                  X4S   S   5        U R                  U[        U5      5        g )Nztwisted.internet.testing.r   Úcategoryé   Úmessage)r}   ÚflushWarningsrC   ÚDeprecationWarningÚlenÚassertInr,   r   )r    ÚtestÚobjÚnew_pathÚwarningss        r!   ÚhelperÚDeprecationTests.helper•  sz   € Ø.¨s¯|©|¨nÐ=ˆØ×%Ñ% t fÓ-ˆØ×ÑÔ+¨X°a©[¸Ñ-DÔEØ×Ñ˜œC ›MÔ*Ø�‰�h¨¡¨IÑ 6Ô7Ø�‰�cœ8 HÓ-Õ.r$   c                óH   • SSK Jn  U R                  U R                  U5        g )Nr   )ÚAccumulatingProtocol)Útwisted.test.proto_helpersrñ   rî   Útest_accumulatingProtocol)r    rñ   s     r!   ró   Ú*DeprecationTests.test_accumulatingProtocol�  ó   € ÝCà�‰�D×2Ñ2Ð4HÕIr$   c                óH   • SSK Jn  U R                  U R                  U5        g )Nr   )ÚLineSendingProtocol)rò   r÷   rî   Útest_lineSendingProtocol)r    r÷   s     r!   rø   Ú)DeprecationTests.test_lineSendingProtocol¢  s   € ÝBà�‰�D×1Ñ1Ð3FÕGr$   c                óH   • SSK Jn  U R                  U R                  U5        g )Nr   )ÚFakeDatagramTransport)rò   rû   rî   Útest_fakeDatagramTransport)r    rû   s     r!   rü   Ú+DeprecationTests.test_fakeDatagramTransport§  s   € ÝDà�‰�D×3Ñ3Ð5JÕKr$   c                óH   • SSK Jn  U R                  U R                  U5        g )Nr   )r   )rò   r   rî   Útest_stringTransport)r    r   s     r!   rÿ   Ú%DeprecationTests.test_stringTransport¬  s   € Ý>à�‰�D×-Ñ-¨Õ?r$   c                óH   • SSK Jn  U R                  U R                  U5        g )Nr   )Ú StringTransportWithDisconnection)rò   r  rî   Ú%test_stringTransportWithDisconnection)r    r  s     r!   r  Ú6DeprecationTests.test_stringTransportWithDisconnection±  s   € ÝOà�‰Ø×6Ñ6Ð8Xõ	
r$   c                óH   • SSK Jn  U R                  U R                  U5        g )Nr   )ÚStringIOWithoutClosing)rò   r  rî   Útest_stringIOWithoutClosing)r    r  s     r!   r  Ú,DeprecationTests.test_stringIOWithoutClosing¸  s   € ÝEà�‰�D×4Ñ4Ð6LÕMr$   c                óH   • SSK Jn  U R                  U R                  U5        g )Nr   )Ú_FakeConnector)rò   r
  rî   Útest__fakeConnector)r    r
  s     r!   r  Ú$DeprecationTests.test__fakeConnector½  s   € Ý=à�‰�D×,Ñ,¨nÕ=r$   c                óH   • SSK Jn  U R                  U R                  U5        g )Nr   )Ú	_FakePort)rò   r  rî   Útest__fakePort)r    r  s     r!   r  ÚDeprecationTests.test__fakePortÂ  s   € Ý8à�‰�D×'Ñ'¨Õ3r$   c                óH   • SSK Jn  U R                  U R                  U5        g )Nr   )r   )rò   r   rî   Útest_memoryReactor)r    r   s     r!   r  Ú#DeprecationTests.test_memoryReactorÇ  s   € Ý<à�‰�D×+Ñ+¨]Õ;r$   c                óH   • SSK Jn  U R                  U R                  U5        g )Nr   )ÚMemoryReactorClock)rò   r  rî   Útest_memoryReactorClock)r    r  s     r!   r  Ú(DeprecationTests.test_memoryReactorClockÌ  s   € ÝAà�‰�D×0Ñ0Ð2DÕEr$   c                óH   • SSK Jn  U R                  U R                  U5        g )Nr   )r   )rò   r   rî   Útest_raisingMemoryReactor)r    r   s     r!   r  Ú*DeprecationTests.test_raisingMemoryReactorÑ  rõ   r$   c                óH   • SSK Jn  U R                  U R                  U5        g )Nr   )r   )rò   r   rî   Útest_nonStreamingProducer)r    r   s     r!   r  Ú*DeprecationTests.test_nonStreamingProducerÖ  rõ   r$   c                óH   • SSK Jn  U R                  U R                  U5        g )Nr   )ÚwaitUntilAllDisconnected)rò   r  rî   Útest_waitUntilAllDisconnected)r    r  s     r!   r   Ú.DeprecationTests.test_waitUntilAllDisconnectedÛ  s   € ÝGà�‰�D×6Ñ6Ð8PÕQr$   c                óH   • SSK Jn  U R                  U R                  U5        g )Nr   )ÚEventLoggingObserver)rò   r#  rî   Útest_eventLoggingObserver)r    r#  s     r!   r$  Ú*DeprecationTests.test_eventLoggingObserverà  rõ   r$   rƒ   N)rê   zCallable[..., object]rë   rÛ   r{   r|   rz   )r}   r~   r   r€   r�   rî   ró   rø   rü   rÿ   r  r  r  r  r  r  r  r  r   r$  r‚   rƒ   r$   r!   rá   rá   �  s\   † ñô/ôJô
Hô
Lô
@ô

ôNô
>ô
4ô
<ô
Fô
Jô
Jô
R÷
Jr$   rá   N)'r�   Ú
__future__r   Útypingr   Úzope.interface.verifyr   Útyping_extensionsr   Útwisted.internet.addressr   Útwisted.internet.interfacesr   r	   r
   r   r   r   r   r   r   Útwisted.internet.protocolr   r   Útwisted.internet.testingr   r   r   r   Útwisted.python.reflectr   Útwisted.trial.unittestr   r   r…   r±   rÄ   rÛ   rá   rƒ   r$   r!   Ú<module>r0     s•   ðñõ #å å .å &å 0÷
÷ 
õ 
÷ =÷ó õ ,Ý +ôe4˜8ô e4ôPg3�8ô g3÷T!!ñ !!ôH+A ô +Aô\�Hô ôSJ�xõ SJr$   