MCPcopy
hub / github.com/MinishLab/semble / test_chunks_is_none

Function test_chunks_is_none

tests/test_chunker.py:127–131  ·  view source on GitHub ↗

Test that chunk returns None when parser is not available.

()

Source from the content-addressed store, hash-verified

125
126
127def test_chunks_is_none() -> None:
128 """Test that chunk returns None when parser is not available."""
129 with patch("semble.chunking.core._cached_get_parser", lambda x: None):
130 chunks = chunk("x = 1", "python", 10)
131 assert chunks is None
132
133
134def test_download_error() -> None:

Callers

nothing calls this directly

Calls 1

chunkFunction · 0.90

Tested by

no test coverage detected