(tmp_path)
| 191 | |
| 192 | @pytest.mark.asyncio |
| 193 | async def test_slash_unknown(tmp_path): |
| 194 | kb_dir = _setup_kb(tmp_path) |
| 195 | session = _make_session(kb_dir) |
| 196 | p, collected = _collect_fmt() |
| 197 | with p: |
| 198 | result = await _handle_slash("/foobar", kb_dir, session, _STYLE) |
| 199 | assert result is None |
| 200 | assert any("Unknown command" in s for s in collected) |
| 201 | |
| 202 | |
| 203 | @pytest.mark.asyncio |
nothing calls this directly
no test coverage detected