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

Method test_init_with_port

tests/models/test_openai_api.py:109–111  ·  view source on GitHub ↗
(self, api_with_port)

Source from the content-addressed store, hash-verified

107 assert api.return_dict is False
108
109 def test_init_with_port(self, api_with_port):
110 assert "8000" in api_with_port.api_base
111 assert api_with_port.api_base == "http://localhost:8000/v1/chat/completions"
112
113 def test_init_api_base_direct(self):
114 api = OpenAIAPI(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected