()
| 202 | |
| 203 | |
| 204 | def test_set_open_canvases_round_trip(): |
| 205 | inst = OpenCanvasInstance( |
| 206 | canvas_id="c", |
| 207 | extension_id="e", |
| 208 | instance_id="i", |
| 209 | ) |
| 210 | session = CopilotSession("sess-1", client=None) |
| 211 | session._set_open_canvases([inst]) |
| 212 | assert session.open_canvases == [inst] |
| 213 | |
| 214 | |
| 215 | def test_session_canvas_opened_updates_open_canvases(caplog: pytest.LogCaptureFixture): |
nothing calls this directly
no test coverage detected
searching dependent graphs…