MCPcopy Create free account
hub / github.com/VectifyAI/OpenKB / test_timeout_reset_when_config_has_none

Method test_timeout_reset_when_config_has_none

tests/test_cli.py:478–485  ·  view source on GitHub ↗
(self, tmp_path)

Source from the content-addressed store, hash-verified

476 assert get_timeout() == 1200.0
477
478 def test_timeout_reset_when_config_has_none(self, tmp_path):
479 from openkb.cli import _setup_llm_key
480 from openkb.config import get_timeout, set_timeout
481
482 set_timeout(999.0)
483 kb = self._make_kb(tmp_path, "gpt-5.4-mini")
484 _setup_llm_key(kb)
485 assert get_timeout() is None

Callers

nothing calls this directly

Calls 4

_make_kbMethod · 0.95
set_timeoutFunction · 0.90
_setup_llm_keyFunction · 0.90
get_timeoutFunction · 0.90

Tested by

no test coverage detected