MCPcopy Create free account
hub / github.com/VectifyAI/OpenKB / test_slash_lint

Function test_slash_lint

tests/test_chat_slash_commands.py:152–157  ·  view source on GitHub ↗
(tmp_path)

Source from the content-addressed store, hash-verified

150
151@pytest.mark.asyncio
152async def test_slash_lint(tmp_path):
153 kb_dir = _setup_kb(tmp_path)
154 session = _make_session(kb_dir)
155 with patch("openkb.cli.run_lint", new_callable=AsyncMock, return_value=tmp_path / "report.md"):
156 result = await _handle_slash("/lint", kb_dir, session, _STYLE)
157 assert result is None
158
159
160@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 3

_handle_slashFunction · 0.90
_make_sessionFunction · 0.85
_setup_kbFunction · 0.70

Tested by

no test coverage detected