MCPcopy Create free account
hub / github.com/ScrapeGraphAI/Scrapegraph-ai / test_lazy_load_no_binary_raises

Function test_lazy_load_no_binary_raises

tests/test_plasmate.py:173–176  ·  view source on GitHub ↗
(mock_which)

Source from the content-addressed store, hash-verified

171
172@patch("shutil.which", return_value=None)
173def test_lazy_load_no_binary_raises(mock_which):
174 loader = _make_loader()
175 with pytest.raises(ImportError, match="plasmate is required"):
176 list(loader.lazy_load())
177
178
179# ---------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 2

_make_loaderFunction · 0.85
lazy_loadMethod · 0.45

Tested by

no test coverage detected