Skip to content

The agent that grows with you

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

kshitijk4poor2f425872ef65
diff --git a/tests/cron/test_cron_relay_delivery_guards.py b/tests/cron/test_cron_relay_delivery_guards.py
index 838e3cd33b1..7cec235c0ec 100644
--- a/tests/cron/test_cron_relay_delivery_guards.py
+++ b/tests/cron/test_cron_relay_delivery_guards.py
@@ -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."""