The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
revert: drop the duplicate fix for the shared-metrics receipt test
Tekniumca13a7828acd
diff --git a/tests/hermes_cli/test_shared_metrics_install_run.py b/tests/hermes_cli/test_shared_metrics_install_run.pyindex 598842c3870..5fa13e8c84c 100644--- a/tests/hermes_cli/test_shared_metrics_install_run.py+++ b/tests/hermes_cli/test_shared_metrics_install_run.py@@ -177,9 +177,7 @@ def test_receipt_is_recorded_only_on_a_day_the_sender_can_ever_send(marks, monkefrom hermes_cli.observability.shared_metrics_sender import CONSENT_GATE_SQL, reconcile_send_consentfrom hermes_cli.sqlite_util import write_txn- # Anchored to the real date: the receipt-age cutoff (_stale) reads the real clock, so a fixed- # date here expires the receipt once it is more than MAX_RECEIPT_AGE_SECONDS in the past.- t0 = datetime.combine(datetime.now(UTC).date(), datetime.min.time(), tzinfo=UTC) - timedelta(days=1)+ t0 = datetime(2026, 10, 6, tzinfo=UTC)clock = {"now": t0 + timedelta(hours=9)}monkeypatch.setattr(store_module, "_utc_now", lambda: clock["now"])monkeypatch.setattr("hermes_cli.config.read_raw_config_readonly",