← Về thư mục
tests/test_telemetry_collector.py
- server · function · L38-L47 — def server()
- _post · function · L50-L61 — def _post(port, body, *, host=_HOST, path="/v1/events")
- _sealed · function · L64-L66 — def _sealed(records)
- test_a_sealed_payload_is_accepted_and_counted · function · L74-L83 — def test_a_sealed_payload_is_accepted_and_counted(server)
- test_the_same_install_is_counted_once · function · L86-L90 — def test_the_same_install_is_counted_once(server)
- test_a_field_outside_its_domain_is_dropped_on_arrival · function · L98-L122 — def test_a_field_outside_its_domain_is_dropped_on_arrival()
- test_an_envelope_with_an_undeclared_event_name_is_rejected · function · L125-L129 — def test_an_envelope_with_an_undeclared_event_name_is_rejected()
- test_a_smuggled_envelope_field_does_not_survive · function · L132-L142 — def test_a_smuggled_envelope_field_does_not_survive()
- test_an_envelope_without_an_install_id_is_rejected · function · L145-L147 — def test_an_envelope_without_an_install_id_is_rejected()
- test_a_wrong_host_is_refused · function · L155-L160 — def test_a_wrong_host_is_refused(server)
- test_a_get_is_not_a_way_in · function · L163-L173 — def test_a_get_is_not_a_way_in(server)
- test_an_unknown_path_is_refused · function · L176-L179 — def test_an_unknown_path_is_refused(server)
- test_an_oversized_body_is_refused_by_the_declared_length · function · L182-L197 — def test_an_oversized_body_is_refused_by_the_declared_length(server)
- test_a_malformed_body_is_rejected_and_counted_as_such · function · L200-L204 — def test_a_malformed_body_is_rejected_and_counted_as_such(server)
- test_the_aggregate_keeps_no_per_event_timestamp_or_id_pairing · function · L212-L227 — def test_the_aggregate_keeps_no_per_event_timestamp_or_id_pairing()
- test_the_install_set_is_capped · function · L230-L242 — def test_the_install_set_is_capped()