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

Method test_empty_api_key

tests/models/test_openai_api.py:527–529  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

525 """Edge case and boundary tests."""
526
527 def test_empty_api_key(self):
528 api = OpenAIAPI(model="m", api_base="http://x", key="")
529 assert api.key == ""
530
531 def test_very_large_thread_num(self):
532 api = OpenAIAPI(model="m", api_base="http://x", thread_num=100000)

Callers

nothing calls this directly

Calls 1

OpenAIAPIClass · 0.90

Tested by

no test coverage detected