0x1949 Team - FAZEMRX - MANAGER
Edit File: test_distrib.cpython-310.pyc
o �btF � @ sb d Z ddlmZ ddlmZ zddlZW n ey dZY nw eZddlm 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 dd� de j)�Z*G dd� dej+�Z+G dd� de,�Z-G dd� de�Z.G dd� d�Z/G dd� de�Z0dS )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 @ s e Zd ZdS )�MySiteN)�__name__� __module__�__qualname__� r r �?/usr/lib/python3/dist-packages/twisted/web/test/test_distrib.pyr # s r c @ s e Zd ZdZdZdd� ZdS )�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 C s t j�| |�| _| jS �N)r r � buildProtocol�proto)�self�addrr r r r! 2 s zPBServerFactory.buildProtocol)r r r �__doc__r"