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

Function mock_llm_model

tests/nodes/robot_node_test.py:9–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7
8@pytest.fixture
9def mock_llm_model():
10 mock_model = MagicMock()
11 mock_model.model = "ollama/llama3"
12 mock_model.__call__ = MagicMock(return_value=["yes"])
13 return mock_model
14
15
16@pytest.fixture

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected