(tmp_path)
| 97 | |
| 98 | @pytest.mark.asyncio |
| 99 | async def test_slash_add_nonexistent_path(tmp_path): |
| 100 | kb_dir = _setup_kb(tmp_path) |
| 101 | session = _make_session(kb_dir) |
| 102 | p, collected = _collect_fmt() |
| 103 | with p: |
| 104 | result = await _handle_slash("/add /no/such/path", kb_dir, session, _STYLE) |
| 105 | assert result is None |
| 106 | assert any("Path does not exist" in s for s in collected) |
| 107 | |
| 108 | |
| 109 | @pytest.mark.asyncio |
nothing calls this directly
no test coverage detected