← Về thư mục
tests/test_diagnostics_routes.py
- _fast_pbkdf2 · function · L43-L44 — def _fast_pbkdf2(monkeypatch)
- _reset_gate · function · L48-L51 — def _reset_gate()
- _headers · function · L54-L62 — def _headers(raw: bytes) -> dict[str, str]
- _json_body · function · L65-L66 — def _json_body(raw: bytes) -> dict
- _payload · function · L69-L70 — def _payload(raw: bytes) -> bytes
- _diag_temps · function · L73-L75 — def _diag_temps() -> set[str]
- _tracked_files · function · L78-L98 — def _tracked_files(data_dir: Path) -> dict[str, tuple[int, int]]
- _admin_daemon · function · L101-L107 — def _admin_daemon(tmp_path: Path) -> tuple[_TeamDaemon, str, str]
- _get_extra · function · L110-L118 — def _get_extra( port: int, path: str, *, cookie: str | None = None, extra: list[str] | None = None )
- _post_extra · function · L121-L140 — def _post_extra( port: int, path: str, body: dict, *, cookie: str | None = None, extra: list[str] | None = None, )
- test_routes_are_in_the_machine_readable_inventory · function · L148-L154 — def test_routes_are_in_the_machine_readable_inventory()
- test_diagnostics_are_daemon_operations_on_every_verb · function · L157-L166 — def test_diagnostics_are_daemon_operations_on_every_verb()
- test_passive_status_does_not_open_the_store_or_run_side_effect_checks · function · L169-L193 — def test_passive_status_does_not_open_the_store_or_run_side_effect_checks( tmp_path, monkeypatch )
- test_unauthenticated_requests_are_401 · function · L201-L221 — def test_unauthenticated_requests_are_401(tmp_path)
- test_member_always_gets_the_same_403 · function · L224-L259 — def test_member_always_gets_the_same_403(tmp_path)
- test_member_still_gets_403_while_an_admin_bundle_is_in_flight · function · L263-L293 — def test_member_still_gets_403_while_an_admin_bundle_is_in_flight( tmp_path, monkeypatch )
- _held · function · L270-L274 — def _held(cfg, path, **_kw)
- _admin_download · function · L279-L280 — def _admin_download()
- test_admin_status_is_200_no_store_and_carries_request_id · function · L296-L316 — def test_admin_status_is_200_no_store_and_carries_request_id(tmp_path)
- test_single_user_still_requires_the_access_token · function · L319-L334 — def test_single_user_still_requires_the_access_token(tmp_path)
- test_status_adds_no_network_subprocess_or_business_writes · function · L342-L380 — def test_status_adds_no_network_subprocess_or_business_writes(tmp_path, monkeypatch)
- _connect · function · L349-L355 — def _connect(sock, address, a, *k)
- _popen · function · L357-L359 — def _popen(self, a, *k)
- test_access_audit_does_not_carry_sensitive_fields · function · L383-L414 — def test_access_audit_does_not_carry_sensitive_fields(tmp_path, monkeypatch)
- _log · function · L389-L392 — def _log(event, /, **fields)
- test_explicit_checks_call_doctor_report · function · L418-L439 — def test_explicit_checks_call_doctor_report(tmp_path, monkeypatch)
- _inject_canaries · function · L447-L463 — def _inject_canaries(cfg, monkeypatch)
- test_bundle_download_has_zero_canary_hits · function · L466-L497 — def test_bundle_download_has_zero_canary_hits(tmp_path, monkeypatch)
- test_client_cannot_choose_the_output_path · function · L500-L516 — def test_client_cannot_choose_the_output_path(tmp_path)
- test_single_flight_returns_429 · function · L520-L559 — def test_single_flight_returns_429(tmp_path, monkeypatch)
- _held · function · L525-L529 — def _held(cfg, path, **_kw)
- _one · function · L536-L542 — def _one()
- test_per_principal_cooldown_returns_429 · function · L562-L574 — def test_per_principal_cooldown_returns_429(tmp_path)
- test_bundle_over_32_mib_is_413 · function · L578-L596 — def test_bundle_over_32_mib_is_413(tmp_path, monkeypatch)
- _huge · function · L582-L585 — def _huge(cfg, path, **kw)
- test_temp_files_return_to_baseline_on_complete_disconnect_and_error · function · L600-L663 — def test_temp_files_return_to_baseline_on_complete_disconnect_and_error( tmp_path, monkeypatch )
- _fat · function · L606-L608 — def _fat(_cfg, path, **_kw)
- _boom · function · L653-L654 — def _boom(_a, *_k)
- test_handle_refuses_a_member_without_the_gateway_guard · function · L666-L682 — def test_handle_refuses_a_member_without_the_gateway_guard()
- _json · function · L673-L674 — def _json(body, status=200)