+
    Dfj                     T    R t ^ RIHtHt ^ RIHt ^ RIHt ^ RIH	t	  ! R R]	4      t
R# )z,
Tests for L{twisted.application.strports}.
)internetstrports)TCP4ServerEndpoint)Factory)TestCasec                   0   a  ] tR t^t o RtR tR tRtV tR# )ServiceTestsz 
Tests for L{strports.service}.
c                   \        4       p\        4       pRp\        P                  ! R\	        V4      ,           W!R7      pV P                  V\        P                  4       V P                  VP                  4       V P                  VP                  \        4       V P                  VP                  P                  V4       V P                  VP                  V4       V P                  VP                  P                   V4       R# )z
L{strports.service} returns a L{StreamServerEndpointService}
constructed with an endpoint produced from
L{endpoint.serverFromString}, using the same syntax.
i9  ztcp:reactorN)objectr   r   servicestrassertIsInstancer   StreamServerEndpointService
assertTrue_raiseSynchronouslyendpointr   assertEqual_portassertIsfactory_reactor)selfr   aFactory	aGoodPortsvcs   &    </usr/lib/python3/dist-packages/twisted/test/test_strports.pytest_serviceServiceTests.test_service   s     (9	vI6Rc8#G#GH 	//0cll,>?++Y7ckk8,cll++W5    c                    ^ RI Hp \        P                  ! RR4      pV P	                  VP
                  P                  V4       R# )zX
L{strports.service} will use the default reactor when none is provided
as an argument.
r
   ztcp:80N)twisted.internetr   r   r   r   r   r   )r   globalReactoraServices   &  r   test_serviceDefaultReactor'ServiceTests.test_serviceDefaultReactor)   s3    
 	>##Hd3h''00-@r     N)	__name__
__module____qualname____firstlineno____doc__r   r%   __static_attributes____classdictcell__)__classdict__s   @r   r   r      s     6*A Ar    r   N)r,   twisted.applicationr   r   twisted.internet.endpointsr   twisted.internet.protocolr   twisted.trial.unittestr   r   r'   r    r   <module>r4      s&   
 3 9 - +"A8 "Ar    