← Về thư mục
tests/test_local_model_discovery.py
- _Response · class · L16-L21 — class _Response(io.BytesIO)
- enter · method · L17-L18 — def enter(self)
- exit · method · L20-L21 — def exit(self, *_exc)
- _Opener · class · L24-L34 — class _Opener
- init · method · L25-L27 — def init(self, responses)
- open · method · L29-L34 — def open(self, request, timeout)
- _candidates · function · L37-L51 — def _candidates()
- test_discovery_normalizes_openai_and_ollama_models_and_never_mutates · function · L54-L106 — def test_discovery_normalizes_openai_and_ollama_models_and_never_mutates()
- test_unreachable_invalid_and_oversized_probes_stay_inert · function · L109-L118 — def test_unreachable_invalid_and_oversized_probes_stay_inert()
- test_catalog_does_not_open_sockets_or_refresh_in_the_background · function · L121-L133 — def test_catalog_does_not_open_sockets_or_refresh_in_the_background()
- test_default_discovery_opener_rejects_redirects · function · L136-L154 — def test_default_discovery_opener_rejects_redirects()
- test_candidate_urls_must_be_literal_loopback · function · L168-L171 — def test_candidate_urls_must_be_literal_loopback(url)