class documentation

class FakePool: (source)

View In Hierarchy

A fake ConnectionPool for tests.

Method __init__ Undocumented
Method connect Return an instance of self.connectionFactory.
Method disconnect Do nothing.
Class Variable noisy Undocumented
Class Variable reconnect Undocumented
Instance Variable connectionFactory factory for making connections returned by the connect method.
def __init__(self, connectionFactory): (source)

Undocumented

def connect(self): (source)

Return an instance of self.connectionFactory.

def disconnect(self, connection): (source)

Do nothing.

Undocumented

reconnect: bool = (source)

Undocumented

connectionFactory: any callable = (source)

factory for making connections returned by the connect method.