responsiveness fix
This commit is contained in:
parent
4ad05bf137
commit
f7a4753217
9 changed files with 396 additions and 13 deletions
|
|
@ -282,7 +282,7 @@ def test_private_subject_stays_off_the_external_plane():
|
|||
external_sender="customer@example.com",
|
||||
external_subject="Invoice 42",
|
||||
)
|
||||
assert private.startswith("Parth Dixit · handoff ·")
|
||||
assert private.startswith("handoff · Parth Dixit ·")
|
||||
assert "Invoice 42" in private
|
||||
assert "Finance approvals" not in private
|
||||
|
||||
|
|
@ -332,7 +332,7 @@ async def test_first_matching_rule_creates_a_new_linked_handoff():
|
|||
assert result["rule_name"] == "Finance approvals"
|
||||
assert result["external_thread_id"] == external_thread_id
|
||||
assert result["handoff_thread_id"]
|
||||
assert result["private_subject"].startswith("Parth Dixit · handoff ·")
|
||||
assert result["private_subject"].startswith("handoff · Parth Dixit ·")
|
||||
assert database.handoff_delivery_jobs.items[0]["kind"] == "MIRROR_TO_HUMAN"
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue