← Về thư mục
tests/autoskill/test_fetch_window.py
- _make_client · function · L7-L9 — def _make_client(handler)
- _ocr_event · function · L12-L16 — def _ocr_event(ts: str, app: str, title: str, text: str) -> dict
- test_fetch_calls_search_endpoint_with_time_window_params · function · L19-L33 — def test_fetch_calls_search_endpoint_with_time_window_params()
- handler · function · L22-L24 — def handler(request: httpx.Request) -> httpx.Response
- test_fetch_normalizes_ocr_events_into_unified_schema · function · L36-L51 — def test_fetch_normalizes_ocr_events_into_unified_schema()
- handler · function · L37-L41 — def handler(request: httpx.Request) -> httpx.Response
- test_fetch_paginates_until_all_results_collected · function · L54-L71 — def test_fetch_paginates_until_all_results_collected()
- handler · function · L63-L66 — def handler(request: httpx.Request) -> httpx.Response
- test_fetch_returns_empty_list_when_no_results · function · L74-L79 — def test_fetch_returns_empty_list_when_no_results()
- handler · function · L75-L76 — def handler(request)
- test_fetch_sends_bearer_token_when_provided · function · L82-L91 — def test_fetch_sends_bearer_token_when_provided()
- handler · function · L85-L87 — def handler(request)
- test_fetch_omits_auth_header_when_no_token · function · L94-L103 — def test_fetch_omits_auth_header_when_no_token()
- handler · function · L97-L99 — def handler(request)
- test_fetch_raises_on_http_error · function · L106-L111 — def test_fetch_raises_on_http_error()
- handler · function · L107-L108 — def handler(request)