test: extend exact-shape assertion in relay-delivery guard for provenance tag

tests/cron/test_cron_relay_delivery_guards.py landed on main after #89329
branched; its exact-dict assertion needs the new _resolved_from field the
salvaged commit adds to origin-resolved targets.
This commit is contained in:
kshitijk4poor
2026-08-26 13:01:22 +05:30
committed by kshitij
parent 580daa7b96
commit 2f425872ef
@@ -46,7 +46,7 @@ class TestOriginThreadStaleGuard:
"thread_id": SYNTH}}
target = _resolve_single_delivery_target(job, "origin")
assert target == {"platform": "slack", "chat_id": "D0BJTDCSR7C",
"thread_id": None}
"thread_id": None, "_resolved_from": "origin"}
def test_origin_thread_kept_when_chat_not_home(self, monkeypatch):
"""A non-home Slack origin thread may be a genuine working thread: keep it."""