| 15 | |
| 16 | |
| 17 | class _RecordingProbe: |
| 18 | def __init__(self, result: bool) -> None: |
| 19 | self.result = result |
| 20 | self.calls: list[dict[str, object]] = [] |
| 21 | |
| 22 | def __call__(self, **kwargs: object) -> bool: |
| 23 | self.calls.append(dict(kwargs)) |
| 24 | return self.result |
| 25 | |
| 26 | |
| 27 | def _no_probe(name: str): |
no outgoing calls