Build an assembler sufficient for the context helpers under test. The helpers we target (_build_self_section, _build_working_summary) don't touch memory / store directly, so mocks are enough.
()
| 20 | |
| 21 | |
| 22 | def _assembler() -> ContextAssembler: |
| 23 | """Build an assembler sufficient for the context helpers under test. |
| 24 | |
| 25 | The helpers we target (_build_self_section, _build_working_summary) |
| 26 | don't touch memory / store directly, so mocks are enough. |
| 27 | """ |
| 28 | return ContextAssembler(memory=MagicMock(), store=None) |
| 29 | |
| 30 | |
| 31 | def _wi(metadata: dict | None = None) -> SimpleNamespace: |
no test coverage detected