Mock ChatContext with a real AttachmentStaging.
()
| 24 | |
| 25 | @pytest.fixture |
| 26 | def ctx(): |
| 27 | """Mock ChatContext with a real AttachmentStaging.""" |
| 28 | mock = MagicMock() |
| 29 | mock.attachment_staging = AttachmentStaging() |
| 30 | return mock |
| 31 | |
| 32 | |
| 33 | # --------------------------------------------------------------------------- |
nothing calls this directly
no test coverage detected