Task · MDE-0073

Prune tautological and change-detector unit tests

Description

From the 2026-09-25 fleet test-signal audit (sampled read-only). Delete or consolidate tautological tests (restating the implementation) and change-detector tests (pinning incidental text, markup, counts or internals). Keep parsing, state-machine, retry, security/PII, wire-contract and incident regression tests. Re-verify each candidate before deleting it; the list below comes from a sample and is not exhaustive. Candidates: tests/unit/test_domain_models.py:32-40 (pydantic field assignment readback); tests/unit/test_metrics_constants.py:40-45 (substring in the enum’s own string); tests/unit/collectors/test_mx_uplink_health_collector.py:56-65 (constructor internals, exact _create_gauge call count). Review the 60 files using assert_called*: keep calls that are a behavioural contract, drop ones pinning private call order. Keep test_golden_metrics_exposition.py; it guards the metric names dashboards use.

Acceptance Criteria

Definition of Done

View the source file on GitHub