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

Function mock_openai_response

tests/conftest.py:159–161  ·  view source on GitHub ↗

Mock OpenAI API response.

()

Source from the content-addressed store, hash-verified

157
158@pytest.fixture
159def mock_openai_response():
160 """Mock OpenAI API response."""
161 return {"choices": [{"message": {"content": "This is a test response."}}]}
162
163
164@pytest.fixture

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected