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

Method test_timeout_stashed_from_config

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

Source from the content-addressed store, hash-verified

468 assert get_extra_headers() == {}
469
470 def test_timeout_stashed_from_config(self, tmp_path):
471 from openkb.cli import _setup_llm_key
472 from openkb.config import get_timeout
473
474 kb = self._make_kb(tmp_path, "gpt-5.4-mini", timeout=1200)
475 _setup_llm_key(kb)
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

Callers

nothing calls this directly

Calls 3

_make_kbMethod · 0.95
_setup_llm_keyFunction · 0.90
get_timeoutFunction · 0.90

Tested by

no test coverage detected