Module Expr Str ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Assign NameStore NameStore Num Assign NameStore Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body AugAssignAdd AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body Pass decorator_list ClassDef bases body Expr Call NameLoad NameLoad decorator_list Expr Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body Pass decorator_list Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Num Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body Pass decorator_list Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Num Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Lambda arguments args NameParam NameParam NameParam defaults NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign TupleStore NameStore NameStore NameStore NameStore ListComp Call NameLoad comprehension NameStore Call NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num NameLoad keyword Str Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Str NameLoad Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Str NameLoad Call NameLoad NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore TupleLoad NameLoad NameLoad NameLoad ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore TupleLoad NameLoad NameLoad NameLoad ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Call NameLoad NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore TupleLoad NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad keyword Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Num Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad keyword Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Num Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad Num Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Str Num Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Num Num Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMult ListLoad Str Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Str Assign NameStore Num Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults vararg kwarg body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body If CompareNotEq Call AttributeLoad NameLoad attr Str Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Assert CompareIs AttributeLoad NameLoad attr NameLoad Str Assign AttributeStore NameLoad attr Call NameLoad Return AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Str Num Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad BinOpMod Str TupleLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr TupleLoad Str Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad Str Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list decorator_list
N/A N/A 
Test code for policies.
 zope.interface Interface implements implementedBy StringIO StringIO twisted.trial unittest twisted.test.proto_helpers StringTransport twisted.test.proto_helpers StringTransportWithDisconnection twisted.internet protocol reactor address defer task twisted.protocols policies SimpleProtocol N/A N/A protocol Protocol N/A N/A connected disconnected 0 N/A buffer __init__ N/A N/A self N/A N/A N/A N/A self dConnected N/A N/A defer Deferred N/A N/A self dDisconnected N/A N/A defer Deferred N/A connectionMade N/A N/A self N/A N/A N/A N/A self connected 1 N/A N/A N/A N/A self dConnected callback N/A connectionLost N/A N/A self reason N/A N/A N/A N/A self disconnected 1 N/A N/A N/A N/A self dDisconnected callback N/A dataReceived N/A N/A self data N/A N/A N/A N/A self buffer data N/A N/A SillyFactory N/A N/A protocol ClientFactory N/A __init__ N/A N/A self p N/A N/A N/A N/A self p p N/A buildProtocol N/A N/A self addr N/A N/A N/A N/A self p N/A N/A EchoProtocol N/A N/A protocol Protocol N/A N/A paused False pauseProducing N/A N/A self N/A N/A N/A N/A self paused True N/A resumeProducing N/A N/A self N/A N/A N/A N/A self paused False N/A stopProducing N/A N/A self N/A N/A N/A N/A dataReceived N/A N/A self data N/A N/A N/A N/A N/A N/A self transport write data N/A N/A Server N/A N/A protocol ServerFactory N/A N/A 
    A simple server factory using L{EchoProtocol}.
     N/A protocol EchoProtocol N/A TestableThrottlingFactory N/A N/A policies ThrottlingFactory N/A N/A 
    L{policies.ThrottlingFactory} using a L{task.Clock} for tests.
     __init__ N/A N/A self clock N/A args kwargs N/A N/A 
        @param clock: object providing a callLater method that can be used
            for tests.
        @type clock: C{task.Clock} or alike.
         N/A N/A N/A N/A policies ThrottlingFactory __init__ self args kwargs N/A N/A self clock clock N/A callLater N/A N/A self period func N/A N/A N/A 
        Forward to the testable clock.
         N/A N/A N/A N/A self clock callLater period func N/A N/A TestableTimeoutFactory N/A N/A policies TimeoutFactory N/A N/A 
    L{policies.TimeoutFactory} using a L{task.Clock} for tests.
     __init__ N/A N/A self clock N/A args kwargs N/A N/A 
        @param clock: object providing a callLater method that can be used
            for tests.
        @type clock: C{task.Clock} or alike.
         N/A N/A N/A N/A policies TimeoutFactory __init__ self args kwargs N/A N/A self clock clock N/A callLater N/A N/A self period func N/A N/A N/A 
        Forward to the testable clock.
         N/A N/A N/A N/A self clock callLater period func N/A N/A WrapperTestCase N/A N/A unittest TestCase N/A N/A 
    Tests for L{WrappingFactory} and L{ProtocolWrapper}.
     test_protocolFactoryAttribute N/A N/A self N/A N/A N/A 
        Make sure protocol.factory is the wrapped factory, not the wrapping
        factory.
         N/A f N/A Server N/A wf N/A N/A policies WrappingFactory f N/A p N/A N/A wf buildProtocol N/A N/A address IPv4Address TCP 127.0.0.1 35 N/A N/A N/A self assertIdentical N/A N/A p wrappedProtocol factory f N/A test_transportInterfaces N/A N/A self N/A N/A N/A 
        The transport wrapper passed to the wrapped protocol's
        C{makeConnection} provides the same interfaces as are provided by the
        original transport.
         IStubTransport N/A Interface N/A N/A N/A StubTransport N/A N/A N/A N/A implements IStubTransport N/A N/A N/A implementedBy N/A policies ProtocolWrapper N/A proto N/A N/A protocol Protocol N/A wrapper N/A N/A policies ProtocolWrapper N/A N/A policies WrappingFactory None proto N/A N/A N/A wrapper makeConnection N/A StubTransport N/A N/A N/A self assertTrue N/A N/A IStubTransport providedBy N/A proto transport N/A test_factoryLogPrefix N/A N/A self N/A N/A N/A 
        L{WrappingFactory.logPrefix} is customized to mention both the original
        factory and the wrapping factory.
         N/A server N/A Server N/A factory N/A N/A policies WrappingFactory server N/A N/A N/A self assertEqual Server (WrappingFactory) N/A N/A factory logPrefix N/A test_factoryLogPrefixFallback N/A N/A self N/A N/A N/A 
        If the wrapped factory doesn't have a L{logPrefix} method,
        L{WrappingFactory.logPrefix} falls back to the factory class name.
         NoFactory N/A object N/A N/A N/A N/A server N/A NoFactory N/A factory N/A N/A policies WrappingFactory server N/A N/A N/A self assertEqual NoFactory (WrappingFactory) N/A N/A factory logPrefix N/A test_protocolLogPrefix N/A N/A self N/A N/A N/A 
        L{ProtocolWrapper.logPrefix} is customized to mention both the original
        protocol and the wrapper.
         N/A server N/A Server N/A factory N/A N/A policies WrappingFactory server N/A protocol N/A N/A factory buildProtocol N/A N/A address IPv4Address TCP 127.0.0.1 35 N/A N/A N/A self assertEqual EchoProtocol (ProtocolWrapper) N/A N/A protocol logPrefix N/A test_protocolLogPrefixFallback N/A N/A self N/A N/A N/A 
        If the wrapped protocol doesn't have a L{logPrefix} method,
        L{ProtocolWrapper.logPrefix} falls back to the protocol class name.
         NoProtocol N/A object N/A N/A N/A N/A server N/A Server N/A N/A server protocol NoProtocol N/A factory N/A N/A policies WrappingFactory server N/A protocol N/A N/A factory buildProtocol N/A N/A address IPv4Address TCP 127.0.0.1 35 N/A N/A N/A self assertEqual NoProtocol (ProtocolWrapper) N/A N/A protocol logPrefix N/A N/A WrappingFactory N/A N/A policies WrappingFactory N/A N/A protocol N/A N/A N/A s f p N/A p startFactory N/A N/A self N/A N/A N/A N/A N/A N/A policies WrappingFactory startFactory self N/A N/A N/A N/A self deferred callback None N/A N/A ThrottlingTestCase N/A N/A unittest TestCase N/A N/A 
    Tests for L{policies.ThrottlingFactory}.
     test_limit N/A N/A self N/A N/A N/A 
        Full test using a custom server limiting number of connections.
         N/A server N/A Server N/A N/A c1 c2 c3 c4 N/A N/A SimpleProtocol N/A i N/A range 4 N/A tServer N/A N/A policies ThrottlingFactory server 2 N/A wrapTServer N/A WrappingFactory tServer N/A N/A wrapTServer deferred N/A N/A defer Deferred N/A p N/A N/A reactor listenTCP 0 wrapTServer interface 127.0.0.1 N/A n N/A N/A N/A p getHost port _connect123 N/A N/A results N/A N/A N/A N/A N/A reactor connectTCP 127.0.0.1 n N/A SillyFactory c1 N/A N/A N/A N/A c1 dConnected addCallback N/A N/A N/A r N/A N/A N/A reactor connectTCP 127.0.0.1 n N/A SillyFactory c2 N/A N/A N/A N/A c2 dConnected addCallback N/A N/A N/A r N/A N/A N/A reactor connectTCP 127.0.0.1 n N/A SillyFactory c3 N/A N/A c3 dDisconnected N/A _check123 N/A N/A results N/A N/A N/A N/A N/A self assertEqual N/A N/A c connected N/A c N/A c1 c2 c3 N/A 1 1 1 N/A N/A N/A self assertEqual N/A N/A c disconnected N/A c N/A c1 c2 c3 N/A 0 0 1 N/A N/A N/A self assertEqual N/A len N/A N/A N/A tServer protocols keys 2 N/A results N/A _lose1 N/A N/A results N/A N/A N/A N/A N/A N/A c1 transport loseConnection N/A N/A c1 dDisconnected N/A _connect4 N/A N/A results N/A N/A N/A N/A N/A reactor connectTCP 127.0.0.1 n N/A SillyFactory c4 N/A N/A c4 dConnected N/A _check4 N/A N/A results N/A N/A N/A N/A N/A self assertEqual N/A c4 connected 1 N/A N/A N/A self assertEqual N/A c4 disconnected 0 N/A results N/A _cleanup N/A N/A results N/A N/A N/A c N/A c2 c4 N/A N/A N/A N/A N/A c transport loseConnection N/A N/A N/A defer DeferredList N/A N/A N/A defer maybeDeferred N/A p stopListening N/A c2 dDisconnected N/A c4 dDisconnected N/A N/A N/A N/A N/A wrapTServer deferred addCallback _connect123 N/A N/A N/A N/A wrapTServer deferred addCallback _check123 N/A N/A N/A N/A wrapTServer deferred addCallback _lose1 N/A N/A N/A N/A wrapTServer deferred addCallback _connect4 N/A N/A N/A N/A wrapTServer deferred addCallback _check4 N/A N/A N/A N/A wrapTServer deferred addCallback _cleanup N/A N/A wrapTServer deferred N/A test_writeLimit N/A N/A self N/A N/A N/A 
        Check the writeLimit parameter: write data, and check for the pause
        status.
         N/A server N/A Server N/A tServer N/A TestableThrottlingFactory N/A N/A task Clock server writeLimit 10 N/A port N/A N/A tServer buildProtocol N/A N/A address IPv4Address TCP 127.0.0.1 0 N/A tr N/A StringTransportWithDisconnection N/A N/A tr protocol port N/A N/A N/A port makeConnection tr N/A N/A port producer N/A port wrappedProtocol N/A N/A N/A port dataReceived 0123456789 N/A N/A N/A port dataReceived abcdefghij N/A N/A N/A self assertEqual N/A N/A tr value 0123456789abcdefghij N/A N/A N/A self assertEqual N/A tServer writtenThisSecond 20 N/A N/A N/A self assertFalse N/A N/A port wrappedProtocol paused N/A N/A N/A N/A tServer clock advance 1.05 N/A N/A N/A self assertEqual N/A tServer writtenThisSecond 0 N/A N/A N/A self assertTrue N/A N/A port wrappedProtocol paused N/A N/A N/A N/A tServer clock advance 1.05 N/A N/A N/A self assertEqual N/A tServer writtenThisSecond 0 N/A N/A N/A self assertFalse N/A N/A port wrappedProtocol paused N/A test_readLimit N/A N/A self N/A N/A N/A 
        Check the readLimit parameter: read data and check for the pause
        status.
         N/A server N/A Server N/A tServer N/A TestableThrottlingFactory N/A N/A task Clock server readLimit 10 N/A port N/A N/A tServer buildProtocol N/A N/A address IPv4Address TCP 127.0.0.1 0 N/A tr N/A StringTransportWithDisconnection N/A N/A tr protocol port N/A N/A N/A port makeConnection tr N/A N/A N/A port dataReceived 0123456789 N/A N/A N/A port dataReceived abcdefghij N/A N/A N/A self assertEqual N/A N/A tr value 0123456789abcdefghij N/A N/A N/A self assertEqual N/A tServer readThisSecond 20 N/A N/A N/A N/A tServer clock advance 1.05 N/A N/A N/A self assertEqual N/A tServer readThisSecond 0 N/A N/A N/A self assertEqual N/A tr producerState paused N/A N/A N/A N/A tServer clock advance 1.05 N/A N/A N/A self assertEqual N/A tServer readThisSecond 0 N/A N/A N/A self assertEqual N/A tr producerState producing N/A N/A N/A tr clear N/A N/A N/A port dataReceived 0123456789 N/A N/A N/A port dataReceived abcdefghij N/A N/A N/A self assertEqual N/A N/A tr value 0123456789abcdefghij N/A N/A N/A self assertEqual N/A tServer readThisSecond 20 N/A N/A N/A N/A tServer clock advance 1.05 N/A N/A N/A self assertEqual N/A tServer readThisSecond 0 N/A N/A N/A self assertEqual N/A tr producerState paused N/A N/A N/A N/A tServer clock advance 1.05 N/A N/A N/A self assertEqual N/A tServer readThisSecond 0 N/A N/A N/A self assertEqual N/A tr producerState producing N/A N/A TimeoutTestCase N/A N/A unittest TestCase N/A N/A 
    Tests for L{policies.TimeoutFactory}.
     setUp N/A N/A self N/A N/A N/A 
        Create a testable, deterministic clock, and a set of
        server factory/protocol/transport.
         N/A N/A self clock N/A N/A task Clock N/A wrappedFactory N/A N/A protocol ServerFactory N/A N/A wrappedFactory protocol SimpleProtocol N/A N/A self factory N/A TestableTimeoutFactory N/A self clock wrappedFactory 3 N/A N/A self proto N/A N/A N/A self factory buildProtocol N/A N/A address IPv4Address TCP 127.0.0.1 12345 N/A N/A self transport N/A StringTransportWithDisconnection N/A N/A N/A self transport protocol N/A self proto N/A N/A N/A N/A self proto makeConnection N/A self transport N/A test_timeout N/A N/A self N/A N/A N/A 
        Make sure that when a TimeoutFactory accepts a connection, it will
        time out that connection if no data is read or written within the
        timeout period.
         N/A N/A N/A N/A self clock pump N/A 0.0 0.5 1.0 1.0 0.4 N/A N/A N/A self failIf N/A N/A N/A self proto wrappedProtocol disconnected N/A N/A N/A N/A self clock pump N/A 0.0 0.2 N/A N/A N/A self failUnless N/A N/A N/A self proto wrappedProtocol disconnected N/A test_sendAvoidsTimeout N/A N/A self N/A N/A N/A 
        Make sure that writing data to a transport from a protocol
        constructed by a TimeoutFactory resets the timeout countdown.
         N/A N/A N/A N/A self clock pump N/A 0.0 0.5 1.0 N/A N/A N/A self failIf N/A N/A N/A self proto wrappedProtocol disconnected N/A N/A N/A N/A self proto write bytes bytes bytes N/A N/A N/A N/A self clock pump N/A 0.0 1.0 1.0 N/A N/A N/A self failIf N/A N/A N/A self proto wrappedProtocol disconnected N/A N/A N/A N/A self proto writeSequence N/A N/A bytes 3 N/A N/A N/A N/A self clock pump N/A 0.0 1.0 1.0 N/A N/A N/A self failIf N/A N/A N/A self proto wrappedProtocol disconnected N/A N/A N/A N/A self clock pump N/A 0.0 2.0 N/A N/A N/A self failUnless N/A N/A N/A self proto wrappedProtocol disconnected N/A test_receiveAvoidsTimeout N/A N/A self N/A N/A N/A 
        Make sure that receiving data also resets the timeout countdown.
         N/A N/A N/A N/A self clock pump N/A 0.0 1.0 0.5 N/A N/A N/A self failIf N/A N/A N/A self proto wrappedProtocol disconnected N/A N/A N/A N/A self proto dataReceived bytes bytes bytes N/A N/A N/A N/A self clock pump N/A 0.0 1.0 1.0 N/A N/A N/A self failIf N/A N/A N/A self proto wrappedProtocol disconnected N/A N/A N/A N/A self clock pump N/A 0.0 1.0 1.0 N/A N/A N/A self failUnless N/A N/A N/A self proto wrappedProtocol disconnected N/A N/A TimeoutTester N/A N/A protocol Protocol N/A policies TimeoutMixin N/A N/A 
    A testable protocol with timeout facility.

    @ivar timedOut: set to C{True} if a timeout has been detected.
    @type timedOut: C{bool}
     N/A timeOut 3 N/A timedOut False __init__ N/A N/A self clock N/A N/A N/A 
        Initialize the protocol with a C{task.Clock} object.
         N/A N/A self clock clock N/A connectionMade N/A N/A self N/A N/A N/A 
        Upon connection, set the timeout.
         N/A N/A N/A self setTimeout N/A self timeOut N/A dataReceived N/A N/A self data N/A N/A N/A 
        Reset the timeout on data.
         N/A N/A N/A self resetTimeout N/A N/A N/A N/A protocol Protocol dataReceived self data N/A connectionLost N/A N/A self reason N/A None N/A N/A 
        On connection lost, cancel all timeout operations.
         N/A N/A N/A self setTimeout None N/A timeoutConnection N/A N/A self N/A N/A N/A 
        Flags the timedOut variable to indicate the timeout of the connection.
         N/A N/A self timedOut True N/A callLater N/A N/A self timeout func N/A args kwargs N/A N/A 
        Override callLater to use the deterministic clock.
         N/A N/A N/A N/A self clock callLater timeout func args kwargs N/A N/A TestTimeout N/A N/A unittest TestCase N/A N/A 
    Tests for L{policies.TimeoutMixin}.
     setUp N/A N/A self N/A N/A N/A 
        Create a testable, deterministic clock and a C{TimeoutTester} instance.
         N/A N/A self clock N/A N/A task Clock N/A N/A self proto N/A TimeoutTester N/A self clock N/A test_overriddenCallLater N/A N/A self N/A N/A N/A 
        Test that the callLater of the clock is used instead of
        C{reactor.callLater}.
         N/A N/A N/A N/A self proto setTimeout 10 N/A N/A N/A self assertEqual N/A len N/A N/A self clock calls 1 N/A test_timeout N/A N/A self N/A N/A N/A 
        Check that the protocol does timeout at the time specified by its
        C{timeOut} attribute.
         N/A N/A N/A N/A self proto makeConnection N/A StringTransport N/A N/A N/A N/A self clock pump N/A 0 0.5 1.0 1.0 N/A N/A N/A self failIf N/A N/A self proto timedOut N/A N/A N/A N/A self clock pump N/A 0 1.0 N/A N/A N/A self failUnless N/A N/A self proto timedOut N/A test_noTimeout N/A N/A self N/A N/A N/A 
        Check that receiving data is delaying the timeout of the connection.
         N/A N/A N/A N/A self proto makeConnection N/A StringTransport N/A N/A N/A N/A self clock pump N/A 0 0.5 1.0 1.0 N/A N/A N/A self failIf N/A N/A self proto timedOut N/A N/A N/A N/A self proto dataReceived hello there N/A N/A N/A N/A self clock pump N/A 0 1.0 1.0 0.5 N/A N/A N/A self failIf N/A N/A self proto timedOut N/A N/A N/A N/A self clock pump N/A 0 1.0 N/A N/A N/A self failUnless N/A N/A self proto timedOut N/A test_resetTimeout N/A N/A self N/A N/A N/A 
        Check that setting a new value for timeout cancel the previous value
        and install a new timeout.
         N/A N/A N/A self proto timeOut None N/A N/A N/A N/A self proto makeConnection N/A StringTransport N/A N/A N/A N/A self proto setTimeout 1 N/A N/A N/A self assertEqual N/A N/A self proto timeOut 1 N/A N/A N/A N/A self clock pump N/A 0 0.9 N/A N/A N/A self failIf N/A N/A self proto timedOut N/A N/A N/A N/A self clock pump N/A 0 0.2 N/A N/A N/A self failUnless N/A N/A self proto timedOut N/A test_cancelTimeout N/A N/A self N/A N/A N/A 
        Setting the timeout to C{None} cancel any timeout operations.
         N/A N/A N/A self proto timeOut 5 N/A N/A N/A N/A self proto makeConnection N/A StringTransport N/A N/A N/A N/A self proto setTimeout None N/A N/A N/A self assertEqual N/A N/A self proto timeOut None N/A N/A N/A N/A self clock pump N/A 0 5 5 5 N/A N/A N/A self failIf N/A N/A self proto timedOut N/A test_return N/A N/A self N/A N/A N/A 
        setTimeout should return the value of the previous timeout.
         N/A N/A N/A self proto timeOut 5 N/A N/A N/A self assertEqual N/A N/A N/A self proto setTimeout 10 5 N/A N/A N/A self assertEqual N/A N/A N/A self proto setTimeout None 10 N/A N/A N/A self assertEqual N/A N/A N/A self proto setTimeout 1 None N/A N/A N/A self assertEqual N/A N/A self proto timeOut 1 N/A N/A N/A N/A self proto setTimeout None N/A N/A LimitTotalConnectionsFactoryTestCase N/A N/A unittest TestCase N/A N/A Tests for policies.LimitTotalConnectionsFactory testConnectionCounting N/A N/A self N/A N/A N/A factory N/A N/A policies LimitTotalConnectionsFactory N/A N/A factory protocol N/A protocol Protocol N/A N/A N/A self assertEqual 0 N/A factory connectionCount N/A p1 N/A N/A factory buildProtocol None N/A N/A N/A self assertEqual 1 N/A factory connectionCount N/A p2 N/A N/A factory buildProtocol None N/A N/A N/A self assertEqual 2 N/A factory connectionCount N/A N/A N/A p1 connectionLost None N/A N/A N/A self assertEqual 1 N/A factory connectionCount N/A N/A N/A p2 connectionLost None N/A N/A N/A self assertEqual 0 N/A factory connectionCount N/A testConnectionLimiting N/A N/A self N/A N/A N/A factory N/A N/A policies LimitTotalConnectionsFactory N/A N/A factory protocol N/A protocol Protocol N/A N/A factory connectionLimit 1 N/A p N/A N/A factory buildProtocol None N/A N/A N/A self assertNotEqual None p N/A N/A N/A self assertEqual 1 N/A factory connectionCount N/A N/A N/A self assertEqual None N/A N/A factory buildProtocol None N/A N/A N/A self assertEqual 1 N/A factory connectionCount OverflowProtocol N/A N/A protocol Protocol N/A connectionMade N/A N/A self N/A N/A N/A N/A factory overflowed True N/A N/A N/A N/A factory overflowProtocol OverflowProtocol N/A N/A factory overflowed False N/A op N/A N/A factory buildProtocol None N/A N/A N/A op makeConnection None N/A N/A N/A self assertEqual True N/A factory overflowed N/A N/A N/A self assertEqual 2 N/A factory connectionCount N/A N/A N/A p connectionLost None N/A N/A N/A self assertEqual 1 N/A factory connectionCount N/A N/A N/A op connectionLost None N/A N/A N/A self assertEqual 0 N/A factory connectionCount N/A N/A WriteSequenceEchoProtocol N/A EchoProtocol N/A dataReceived N/A N/A self bytes N/A N/A N/A N/A N/A N/A bytes find vector! -1 N/A N/A N/A N/A N/A self transport writeSequence N/A bytes N/A N/A N/A N/A EchoProtocol dataReceived self bytes N/A N/A TestLoggingFactory N/A N/A policies TrafficLoggingFactory N/A N/A openFile None open N/A N/A self name N/A N/A N/A N/A N/A self openFile None open() called too many times N/A N/A self openFile N/A StringIO N/A N/A self openFile N/A N/A LoggingFactoryTestCase N/A N/A unittest TestCase N/A N/A 
    Tests for L{policies.TrafficLoggingFactory}.
     test_thingsGetLogged N/A N/A self N/A N/A N/A 
        Check the output produced by L{policies.TrafficLoggingFactory}.
         N/A wrappedFactory N/A Server N/A N/A wrappedFactory protocol WriteSequenceEchoProtocol N/A t N/A StringTransportWithDisconnection N/A f N/A TestLoggingFactory wrappedFactory test N/A p N/A N/A f buildProtocol N/A 1.2.3.4 5678 N/A N/A t protocol p N/A N/A N/A p makeConnection t N/A v N/A N/A N/A f openFile getvalue N/A N/A N/A self failUnless N/A * v N/A * not found in %r N/A v N/A N/A N/A self failIf N/A N/A t value N/A N/A N/A p dataReceived here are some bytes N/A v N/A N/A N/A f openFile getvalue N/A N/A N/A self assertIn C 1: 'here are some bytes' v N/A N/A N/A self assertIn S 1: 'here are some bytes' v N/A N/A N/A self assertEqual N/A N/A t value here are some bytes N/A N/A N/A t clear N/A N/A N/A p dataReceived prepare for vector! to the extreme N/A v N/A N/A N/A f openFile getvalue N/A N/A N/A self assertIn SV 1: ['prepare for vector! to the extreme'] v N/A N/A N/A self assertEqual N/A N/A t value prepare for vector! to the extreme N/A N/A N/A p loseConnection N/A v N/A N/A N/A f openFile getvalue N/A N/A N/A self assertIn ConnectionDone v N/A test_counter N/A N/A self N/A N/A N/A 
        Test counter management with the resetCounter method.
         N/A wrappedFactory N/A Server N/A f N/A TestLoggingFactory wrappedFactory test N/A N/A N/A self assertEqual N/A f _counter 0 N/A N/A N/A f buildProtocol N/A 1.2.3.4 5678 N/A N/A N/A self assertEqual N/A f _counter 1 N/A N/A f openFile None N/A N/A N/A f buildProtocol N/A 1.2.3.4 5679 N/A N/A N/A self assertEqual N/A f _counter 2 N/A N/A N/A f resetCounter N/A N/A N/A self assertEqual N/A f _counter 0 N/A N/A