← Về thư mục
tests/test_telemetry_emit.py
- _clean · function · L29-L32 — def _clean()
- store · function · L36-L37 — def store(tmp_path)
- captured · function · L41-L49 — def captured(monkeypatch)
- fake_dispatch · function · L45-L46 — def fake_dispatch(store, install_id, batch)
- test_emit_without_consent_records_nothing · function · L57-L59 — def test_emit_without_consent_records_nothing(store, captured)
- test_emit_with_consent_records_the_event · function · L62-L69 — def test_emit_with_consent_records_the_event(store, captured)
- test_emit_drops_fields_outside_the_declaration · function · L72-L77 — def test_emit_drops_fields_outside_the_declaration(store, captured)
- test_emit_drops_an_undeclared_event_name · function · L80-L83 — def test_emit_drops_an_undeclared_event_name(store, captured)
- test_a_store_that_raises_does_not_propagate · function · L91-L97 — def test_a_store_that_raises_does_not_propagate(captured)
- Exploding · class · L92-L94 — class Exploding
- get_setting · method · L93-L94 — def get_setting(self, a, *k)
- test_a_dispatch_that_crashes_does_not_propagate · function · L100-L107 — def test_a_dispatch_that_crashes_does_not_propagate(store, monkeypatch)
- boom · function · L103-L104 — def boom(a, *k)
- test_the_send_happens_off_the_calling_thread · function · L110-L133 — def test_the_send_happens_off_the_calling_thread(store, monkeypatch)
- record · function · L123-L125 — def record(store, payload)
- test_session_start_fires_once_per_session · function · L141-L148 — def test_session_start_fires_once_per_session(store, captured)
- test_a_session_is_not_marked_seen_while_telemetry_is_off · function · L151-L169 — def test_a_session_is_not_marked_seen_while_telemetry_is_off(store, captured)
- test_every_engine_stop_reason_maps_to_a_declared_outcome · function · L191-L200 — def test_every_engine_stop_reason_maps_to_a_declared_outcome(stop_reason, expected)
- test_the_progress_circuit_stop_is_a_bounded_stop_not_an_error · function · L203-L208 — def test_the_progress_circuit_stop_is_a_bounded_stop_not_an_error()
- test_an_unrecognised_stop_reason_is_error_not_ok · function · L211-L216 — def test_an_unrecognised_stop_reason_is_error_not_ok()
- test_a_regrant_mid_session_gets_its_own_session_start · function · L219-L234 — def test_a_regrant_mid_session_gets_its_own_session_start(store, captured)