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

Method mock_model

tests/operators/test_mllm.py:299–303  ·  view source on GitHub ↗

Create mock model.

(self)

Source from the content-addressed store, hash-verified

297
298 @pytest.fixture
299 def mock_model(self):
300 """Create mock model."""
301 model = MagicMock()
302 model.generate.return_value = ['{"q0": "Rewritten"}']
303 return model
304
305 @pytest.fixture
306 def request_builder_cfg(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected