(event_manager: LocalEventManager)
| 54 | |
| 55 | @pytest.fixture |
| 56 | async def snapshotter(event_manager: LocalEventManager) -> AsyncGenerator[Snapshotter, None]: |
| 57 | config = Configuration(available_memory_ratio=0.25) |
| 58 | service_locator.set_event_manager(event_manager) |
| 59 | async with Snapshotter.from_config(config) as snapshotter: |
| 60 | yield snapshotter |
| 61 | |
| 62 | |
| 63 | @pytest.fixture |
nothing calls this directly
no test coverage detected