← Về thư mục
tests/test_host_endpoint_service.py
- FakeEndpointStore · class · L19-L30 — class FakeEndpointStore
- init · method · L20-L22 — def init(self) -> None
- list_endpoints · method · L24-L25 — def list_endpoints(self) -> list[dict]
- upsert_endpoint · method · L27-L30 — def upsert_endpoint(self, name: str, **fields) -> None
- test_local_registration_reuses_port_and_requires_change_approval · function · L33-L107 — def test_local_registration_reuses_port_and_requires_change_approval()
- allocate · function · L37-L39 — def allocate()
- test_remote_registration_discards_local_runtime_fields · function · L110-L148 — def test_remote_registration_discards_local_runtime_fields()
- unexpected_allocation · function · L113-L114 — def unexpected_allocation()
- test_status_list_and_probe_preserve_hard_errors_and_minimal_updates · function · L151-L190 — def test_status_list_and_probe_preserve_hard_errors_and_minimal_updates()
- readiness · function · L155-L157 — def readiness(url, route, **_kwargs)
- test_registration_requires_name_and_remote_detection_stays_case_sensitive · function · L193-L205 — def test_registration_requires_name_and_remote_detection_stays_case_sensitive()
- test_endpoint_helpers_keep_fingerprint_and_http_readiness_contract · function · L208-L257 — def test_endpoint_helpers_keep_fingerprint_and_http_readiness_contract(monkeypatch)
- Response · class · L219-L229 — class Response
- enter · method · L222-L223 — def enter(self)
- exit · method · L225-L226 — def exit(self, *_args)
- getcode · method · L228-L229 — def getcode(self)
- open_ok · function · L231-L233 — def open_ok(url, timeout)
- open_failed · function · L246-L247 — def open_failed(_url, timeout)
- test_free_port_scans_closes_sockets_and_falls_back_on_permission · function · L260-L308 — def test_free_port_scans_closes_sockets_and_falls_back_on_permission(monkeypatch)
- FakeSocket · class · L263-L278 — class FakeSocket
- init · method · L264-L266 — def init(self, outcome)
- setsockopt · method · L268-L269 — def setsockopt(self, *_args)
- bind · method · L271-L275 — def bind(self, address)
- close · method · L277-L278 — def close(self)
- socket_factory · function · L282-L285 — def socket_factory(*_args)
- denied_factory · function · L293-L296 — def denied_factory(*_args)
- test_dispatcher_endpoint_wrappers_share_the_extracted_service · function · L311-L337 — def test_dispatcher_endpoint_wrappers_share_the_extracted_service( tmp_path, monkeypatch )
- traced_fingerprint · function · L316-L318 — def traced_fingerprint(*fields)