%PDF- %PDF-
Direktori : /usr/lib/python3/dist-packages/twisted/web/test/__pycache__/ |
Current File : //usr/lib/python3/dist-packages/twisted/web/test/__pycache__/test_distrib.cpython-312.pyc |
� Ϫ�fRF � � � d Z ddlmZ ddlmZ ddlZeZddlm Z ddl mZ ddlm Z mZ ddlmZ dd lmZmZ dd lmZ ddlmZ ddlmZ dd lmZ ddlmZmZmZm Z m!Z! ddl"m#Z# ddl$m%Z% ddl&m'Z'm(Z( G d� de jR � Z* G d� dejV � Z+ G d� de,� Z- G d� de� Z. G d� d� Z/ G d� de� Z0y# e$ r dZY ��w xY w)z# Tests for L{twisted.web.distrib}. � )�abspath)�parseStringN)�skipIf)�verifyObject)�defer�reactor)�globalLogPublisher)�failure�filepath)�pb�� SIZE_LIMIT)� proto_helpers)�TestCase)�client�distrib�resource�server�static)�Headers)�_render)�DummyChannel�DummyRequestc � � e Zd Zy)�MySiteN)�__name__� __module__�__qualname__� � �?/usr/lib/python3/dist-packages/twisted/web/test/test_distrib.pyr r # s � �r r c � � e Zd ZdZdZd� Zy)�PBServerFactoryz� A PB server factory which keeps track of the most recent protocol it created. @ivar proto: L{None} or the L{Broker} instance most recently returned from C{buildProtocol}. Nc �d � t j j | |� | _ | j S �N)r r# � buildProtocol�proto)�self�addrs r! r&