← Về thư mục
tests/test_connector_canary.py
- _fetch_returning · function · L51-L53 — def _fetch_returning(document)
- _no_sleep · function · L56-L57 — def _no_sleep(_seconds)
- test_a_healthy_api_reads_as_ok · function · L65-L71 — def test_a_healthy_api_reads_as_ok()
- test_a_renamed_required_field_reads_as_drift · function · L74-L81 — def test_a_renamed_required_field_reads_as_drift()
- test_a_missing_expected_field_is_noted_but_not_drift · function · L84-L92 — def test_a_missing_expected_field_is_noted_but_not_drift()
- test_a_transport_failure_reads_as_unreachable_not_drift · function · L100-L105 — def test_a_transport_failure_reads_as_unreachable_not_drift()
- boom · function · L101-L102 — def boom(url, fmt, timeout, max_chars)
- test_a_200_that_is_not_json_reads_as_unreachable · function · L108-L116 — def test_a_200_that_is_not_json_reads_as_unreachable()
- html · function · L112-L113 — def html(url, fmt, timeout, max_chars)
- test_a_transient_failure_is_retried_then_succeeds · function · L119-L130 — def test_a_transient_failure_is_retried_then_succeeds()
- flaky · function · L122-L126 — def flaky(url, fmt, timeout, max_chars)
- test_persistent_failure_gives_up_as_unreachable · function · L133-L142 — def test_persistent_failure_gives_up_as_unreachable()
- always_down · function · L136-L138 — def always_down(url, fmt, timeout, max_chars)
- test_a_run_reports_each_source_and_separates_drift_from_outage · function · L150-L159 — def test_a_run_reports_each_source_and_separates_drift_from_outage()
- fetch · function · L151-L154 — def fetch(url, fmt, timeout, max_chars)
- _report · function · L162-L165 — def _report(**kw)
- test_only_a_contract_problem_is_a_nonzero_exit · function · L168-L184 — def test_only_a_contract_problem_is_a_nonzero_exit(monkeypatch)
- test_a_parser_failure_on_a_valid_200_is_classified_not_crashed · function · L192-L224 — def test_a_parser_failure_on_a_valid_200_is_classified_not_crashed(monkeypatch)
- fetch · function · L205-L206 — def fetch(_url, _fmt, _timeout, _max_chars)
- exploding_search · function · L208-L214 — def exploding_search(self, _a, *_k)
- test_a_dict_shaped_fetch_payload_is_still_captured_for_the_drift_check · function · L227-L238 — def test_a_dict_shaped_fetch_payload_is_still_captured_for_the_drift_check()
- fetch · function · L233-L234 — def fetch(_url, _fmt, _timeout, _max_chars)
- _HTTPError · class · L246-L251 — class _HTTPError(Exception)
- init · method · L249-L251 — def init(self, code)
- test_a_removed_route_reads_as_http_error_not_unreachable · function · L254-L266 — def test_a_removed_route_reads_as_http_error_not_unreachable()
- gone · function · L259-L261 — def gone(url, fmt, timeout, max_chars)
- test_a_wrapped_http_error_is_still_classified · function · L269-L280 — def test_a_wrapped_http_error_is_still_classified()
- wrapped · function · L272-L276 — def wrapped(url, fmt, timeout, max_chars)
- test_a_rate_limit_is_transient_not_a_contract_break · function · L283-L293 — def test_a_rate_limit_is_transient_not_a_contract_break()
- throttled · function · L287-L289 — def throttled(url, fmt, timeout, max_chars)
- test_the_run_fails_on_a_permanent_http_error · function · L296-L301 — def test_the_run_fails_on_a_permanent_http_error()
- gone · function · L297-L298 — def gone(url, fmt, timeout, max_chars)