Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword Num keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad TupleLoad TupleLoad Str Str Str Dict Str Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad TupleLoad TupleLoad Str Str Str Dict Str Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad TupleLoad TupleLoad Str Str Dict Str Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad TupleLoad TupleLoad Str Str Str Dict Str Num decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Lambda arguments args defaults AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad TupleLoad TupleLoad AttributeLoad NameLoad attr Dict decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad TupleLoad Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list decorator_list
N/A twisted.trial.unittest TestCase twisted.internet reactor twisted.internet.defer Deferred txconnpool.test.test_basic ADDRESS StubReactor StubConnectionPool txconnpool memcache CallRecorder N/A object N/A N/A 
    Simple call recorder for use with L{TestCase.patch}

    @ivar calls: List of tuples of args and kwargs.
    @type calls: C{[(tuple, dict)]}
     __init__ N/A N/A self N/A N/A N/A N/A self calls N/A N/A call N/A N/A self N/A args kwargs N/A N/A 
        Record all arguments and keyword arguments.
         N/A N/A N/A N/A self calls append N/A args kwargs N/A N/A MemCachePoolTestCase N/A TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self reactor N/A StubReactor N/A N/A self pool N/A N/A memcache MemCachePool ADDRESS maxClients 5 reactor N/A self reactor N/A N/A self call_recorder N/A CallRecorder N/A N/A N/A self patch N/A memcache Pool performRequest N/A N/A self call_recorder call N/A test_get N/A N/A self N/A N/A N/A 
        L{MemCachePool.get} properly calls L{Pool.performRequest}
         N/A N/A N/A N/A self pool get foo bar somekwarg 1 N/A N/A N/A self assertEqual N/A N/A self call_recorder calls N/A N/A N/A get foo bar N/A somekwarg 1 N/A test_set N/A N/A self N/A N/A N/A 
        L{MemCachePool.set} properly calls L{Pool.performRequest}
         N/A N/A N/A N/A self pool set foo bar ttl 10000 N/A N/A N/A self assertEqual N/A N/A self call_recorder calls N/A N/A N/A set foo bar N/A ttl 10000 N/A test_delete N/A N/A self N/A N/A N/A 
        L{MemCachePool.delete} properly calls L{Pool.performRequest}
         N/A N/A N/A N/A self pool delete foo somekwarg 1 N/A N/A N/A self assertEqual N/A N/A self call_recorder calls N/A N/A N/A delete foo N/A somekwarg 1 N/A test_add N/A N/A self N/A N/A N/A 
        L{MemCachePool.add} properly calls L{Pool.performRequest}
         N/A N/A N/A N/A self pool add foo bar ttl 10000 N/A N/A N/A self assertEqual N/A N/A self call_recorder calls N/A N/A N/A add foo bar N/A ttl 10000 N/A N/A PooledMemCacheProtocolTestCase N/A TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self protocol N/A N/A memcache _PooledMemCacheProtocol N/A N/A self pool N/A StubConnectionPool N/A N/A self factory N/A N/A memcache _MemCacheClientFactory N/A N/A N/A self factory connectionPool N/A self pool N/A N/A N/A self factory protocol N/A N/A N/A N/A N/A self protocol N/A N/A N/A N/A self factory buildProtocol ADDRESS N/A test_connectionMadeCallsBase N/A N/A self N/A N/A N/A 
        L{memcache._PooledMemCacheProtocol.connectionMade}
        calls L{MemCacheProtocol.connectionMade}
         N/A cm_cr N/A CallRecorder N/A N/A N/A self patch N/A memcache MemCacheProtocol connectionMade N/A cm_cr call N/A N/A N/A N/A self protocol connectionMade N/A N/A N/A self assertEqual N/A cm_cr calls N/A N/A N/A N/A self protocol N/A N/A test_connectionMadeFreesClient N/A N/A self N/A N/A N/A 
        L{memcache._PooledMemCacheProtocol.connectionMade} adds
        the current protocol instance to the pool and marks it as free.
         N/A N/A N/A N/A self protocol connectionMade N/A N/A N/A self assertEqual N/A N/A self pool calls N/A N/A free N/A self protocol N/A test_connectionMadeFiresFactoryDeferred N/A N/A self N/A N/A N/A 
        L{memcache._PooledMemCacheProtocol.connectionMade} fires the
        L{PooledClientFactory.deferred} and sets it as C{None}
         N/A d N/A N/A self factory deferred _checkDeferred N/A N/A ign N/A N/A N/A N/A N/A self assertIdentical N/A N/A self factory deferred None N/A _checkProtocol N/A N/A proto N/A N/A N/A N/A N/A self assertEqual proto N/A self protocol N/A d2 N/A Deferred N/A N/A N/A d2 addCallback _checkDeferred N/A N/A N/A reactor callLater 0 N/A d2 callback None N/A d2 N/A N/A N/A N/A d addCallback _checkProtocol N/A N/A N/A N/A self protocol connectionMade N/A d N/A test_connectionMadeDoesntFireDeferredMultipleTimes N/A N/A self N/A N/A N/A 
        L{memcache._PooledMemCacheProtocol.connectionMade} shouldn't fire the
        L{PooledClientFactory.deferred} if it is C{None}
         N/A d N/A N/A self factory deferred _checkDeferred N/A N/A ign N/A N/A N/A N/A N/A self assertIdentical N/A N/A self factory deferred None N/A N/A N/A N/A self protocol connectionMade N/A _checkProtocol N/A N/A proto N/A N/A N/A N/A N/A self assertEqual proto N/A self protocol N/A d2 N/A Deferred N/A N/A N/A d2 addCallback _checkDeferred N/A N/A N/A reactor callLater 0 N/A d2 callback None N/A d2 N/A N/A N/A N/A d addCallback _checkProtocol N/A N/A N/A N/A self protocol connectionMade N/A d N/A N/A