()
| 73 | counter = 0 |
| 74 | |
| 75 | async def fake_create_session() -> GuestSession: |
| 76 | nonlocal counter |
| 77 | counter += 1 |
| 78 | return _make_session(f"guest-{counter}", str(counter)) |
| 79 | |
| 80 | monkeypatch.setattr(pool, "_create_session", fake_create_session) |
| 81 | monkeypatch.setattr(pool, "_maintenance_loop", AsyncMock(return_value=None)) |
nothing calls this directly
no test coverage detected