(self, address, options, is_sdam=False, client_id=None)
| 235 | |
| 236 | class MockPool: |
| 237 | def __init__(self, address, options, is_sdam=False, client_id=None): |
| 238 | self.gen = _PoolGeneration() |
| 239 | self._lock = _create_lock() |
| 240 | self.opts = options |
| 241 | self.operation_count = 0 |
| 242 | self.conns = [] |
| 243 | |
| 244 | def stale_generation(self, gen, service_id): |
| 245 | return self.gen.stale(gen, service_id) |
nothing calls this directly
no test coverage detected