← Về thư mục
tests/test_observability.py
- test_ids_are_unique_and_short_enough_to_read · function · L36-L39 — def test_ids_are_unique_and_short_enough_to_read()
- test_the_id_is_readable_from_anywhere_in_the_call · function · L42-L47 — def test_the_id_is_readable_from_anywhere_in_the_call()
- test_resetting_restores_the_previous_value · function · L50-L55 — def test_resetting_restores_the_previous_value()
- test_a_foreign_token_does_not_raise · function · L58-L76 — def test_a_foreign_token_does_not_raise()
- other · function · L66-L70 — def other()
- test_events_carry_the_current_id · function · L79-L84 — def test_events_carry_the_current_id()
- test_a_secret_under_a_sensitive_key_is_redacted · function · L92-L93 — def test_a_secret_under_a_sensitive_key_is_redacted()
- test_a_secret_under_an_innocent_key_is_still_redacted · function · L96-L99 — def test_a_secret_under_an_innocent_key_is_still_redacted()
- test_nested_secrets_are_redacted · function · L102-L104 — def test_nested_secrets_are_redacted()
- test_connector_env_values_are_redacted · function · L107-L108 — def test_connector_env_values_are_redacted()
- test_ordinary_text_survives · function · L111-L125 — def test_ordinary_text_survives()
- test_paths_and_urls_are_not_mistaken_for_secrets · function · L128-L135 — def test_paths_and_urls_are_not_mistaken_for_secrets()
- test_a_broker_reference_survives · function · L138-L142 — def test_a_broker_reference_survives()
- test_short_identifiers_survive · function · L145-L147 — def test_short_identifiers_survive()
- test_a_redacted_value_is_still_correlatable · function · L150-L157 — def test_a_redacted_value_is_still_correlatable()
- test_fingerprints_are_not_reversible_and_are_stable · function · L160-L164 — def test_fingerprints_are_not_reversible_and_are_stable()
- test_redaction_terminates_on_deep_structures · function · L167-L174 — def test_redaction_terminates_on_deep_structures()
- test_logging_is_off_unless_asked_for · function · L182-L187 — def test_logging_is_off_unless_asked_for(monkeypatch, capsys)
- test_enabled_logging_writes_one_json_object_per_line · function · L190-L197 — def test_enabled_logging_writes_one_json_object_per_line(monkeypatch, capsys)
- test_an_emitted_line_never_carries_a_secret · function · L200-L203 — def test_an_emitted_line_never_carries_a_secret(monkeypatch, capsys)
- test_a_broken_field_cannot_fail_the_request · function · L206-L214 — def test_a_broken_field_cannot_fail_the_request(monkeypatch, capsys)
- _Hostile · class · L210-L212 — class _Hostile
- repr · method · L211-L212 — def repr(self)
- test_there_is_no_prompt_logging_helper · function · L217-L225 — def test_there_is_no_prompt_logging_helper()