← Về thư mục
tests/test_telemetry_off_by_default.py
- EgressAttempted · class · L31-L32 — class EgressAttempted(AssertionError)
- store · function · L36-L37 — def store(tmp_path)
- no_egress · function · L41-L56 — def no_egress(monkeypatch)
- refuse · function · L45-L50 — def refuse(what)
- guard · function · L46-L48 — def guard(args, *kwargs)
- _payload · function · L59-L60 — def _payload(install_id: str = "0" * 32)
- test_sending_without_consent_does_not_touch_the_network · function · L68-L71 — def test_sending_without_consent_does_not_touch_the_network(store, no_egress)
- test_a_revoked_install_stops_sending · function · L74-L79 — def test_a_revoked_install_stops_sending(store, no_egress)
- test_an_environment_veto_stops_sending_even_with_consent_recorded · function · L82-L89 — def test_an_environment_veto_stops_sending_even_with_consent_recorded( store, no_egress, monkeypatch )
- test_the_consent_check_happens_before_any_name_is_resolved · function · L92-L97 — def test_the_consent_check_happens_before_any_name_is_resolved(store, no_egress)
- test_importing_the_package_sends_nothing · function · L100-L112 — def test_importing_the_package_sends_nothing(no_egress)
- test_building_the_daemon_starts_no_telemetry_thread · function · L115-L127 — def test_building_the_daemon_starts_no_telemetry_thread(tmp_path, no_egress)
- _SilentHub · class · L130-L141 — class _SilentHub
- emitter · method · L131-L132 — def emitter(self, root_frame_id)
- broadcast · method · L134-L135 — def broadcast(self, root_frame_id, event)
- has_subscriber · method · L137-L138 — def has_subscriber(self, root_frame_id)
- drop_frame · method · L140-L141 — def drop_frame(self, root_frame_id)
- test_a_payload_the_sender_did_not_get_from_seal_is_refused · function · L149-L158 — def test_a_payload_the_sender_did_not_get_from_seal_is_refused(store, no_egress)
- Impostor · class · L153-L155 — class Impostor
- test_a_sealed_payload_cannot_be_built_outside_wire · function · L161-L163 — def test_a_sealed_payload_cannot_be_built_outside_wire()
- test_a_plain_http_endpoint_is_refused · function · L166-L169 — def test_a_plain_http_endpoint_is_refused(monkeypatch)
- test_an_endpoint_carrying_credentials_is_refused · function · L172-L174 — def test_an_endpoint_carrying_credentials_is_refused(monkeypatch)
- test_the_default_endpoint_is_the_one_that_was_agreed · function · L177-L180 — def test_the_default_endpoint_is_the_one_that_was_agreed(monkeypatch)
- test_an_oversized_payload_is_refused_before_consent_is_even_checked · function · L183-L191 — def test_an_oversized_payload_is_refused_before_consent_is_even_checked( store, no_egress )
- test_the_no_redirect_handler_refuses_every_redirect · function · L194-L200 — def test_the_no_redirect_handler_refuses_every_redirect()
- test_the_sender_actually_installs_that_handler · function · L203-L228 — def test_the_sender_actually_installs_that_handler(store, monkeypatch)
- _Stub · class · L213-L215 — class _Stub
- open · method · L214-L215 — def open(self, request, timeout=None)
- fake_build_opener · function · L217-L219 — def fake_build_opener(*args)
- test_there_is_no_exit_or_crash_hook_anywhere_in_the_package · function · L236-L248 — def test_there_is_no_exit_or_crash_hook_anywhere_in_the_package()
- test_seal_refuses_to_produce_an_empty_report · function · L251-L255 — def test_seal_refuses_to_produce_an_empty_report(store)
- test_seal_refuses_without_a_well_formed_identity · function · L258-L259 — def test_seal_refuses_without_a_well_formed_identity()
- test_a_payload_sealed_under_a_revoked_identity_is_not_sent · function · L267-L289 — def test_a_payload_sealed_under_a_revoked_identity_is_not_sent(store, no_egress)
- test_a_payload_sealed_under_the_current_identity_is_accepted · function · L292-L317 — def test_a_payload_sealed_under_the_current_identity_is_accepted(store, monkeypatch)
- _Response · class · L301-L308 — class _Response
- enter · method · L304-L305 — def enter(self)
- exit · method · L307-L308 — def exit(self, *_exc)
- _Opener · class · L310-L312 — class _Opener
- open · method · L311-L312 — def open(self, _request, timeout=None)
- test_a_payload_with_no_identity_is_refused · function · L320-L328 — def test_a_payload_with_no_identity_is_refused(store, no_egress)
- test_the_sealed_payload_records_the_identity_it_was_sealed_under · function · L331-L333 — def test_the_sealed_payload_records_the_identity_it_was_sealed_under(store)
- test_no_payload_ever_sends_under_an_identity_that_is_not_current · function · L336-L388 — def test_no_payload_ever_sends_under_an_identity_that_is_not_current(store, no_egress)
- churn · function · L361-L368 — def churn()
- send_loop · function · L370-L375 — def send_loop()