MCPcopy Create free account
hub / github.com/Open-Bee/DataStudio / mock_model

Function mock_model

tests/conftest.py:151–155  ·  view source on GitHub ↗

Mock model for MLLM operators.

()

Source from the content-addressed store, hash-verified

149
150@pytest.fixture
151def mock_model():
152 """Mock model for MLLM operators."""
153 model = MagicMock()
154 model.generate = MagicMock(return_value=[{"response": "test response"}])
155 return model
156
157
158@pytest.fixture

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected