MCPcopy Index your code
hub / github.com/dataease/SQLBot / setUp

Method setUp

tests/test_supplier_config.py:190–195  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

188 """Test that backend model_factory.py can support MiniMax via OpenAI protocol."""
189
190 def setUp(self):
191 factory_path = os.path.join(
192 PROJECT_ROOT, "backend", "apps", "ai_model", "model_factory.py"
193 )
194 with open(factory_path, "r", encoding="utf-8") as f:
195 self.factory_content = f.read()
196
197 def test_openai_type_in_factory(self):
198 """OpenAI type should be registered in LLMFactory._llm_types."""

Callers

nothing calls this directly

Calls 2

openFunction · 0.85
readMethod · 0.80

Tested by

no test coverage detected