fix(work): remove attachment delivery notices from task cards
This commit is contained in:
@@ -119,9 +119,9 @@ def test_card_projection_never_exposes_task_body_or_markdown_controls():
|
||||
|
||||
def test_text_delivery_never_claims_attachments_delivered():
|
||||
text=json.dumps(card_content('synthetic','completed','replied',[]),ensure_ascii=False)
|
||||
assert '文字回复:' in text and '未收到登记的文件' in text
|
||||
assert '文字回复:' in text and '附件交付' not in text and '未收到登记' not in text
|
||||
mixed=json.dumps(card_content('synthetic','completed','replied',['sent','ready','unknown']),ensure_ascii=False)
|
||||
assert '已发送1件,待投递1件,异常或待核对1件' in mixed
|
||||
assert '附件交付' not in mixed and '待投递1件' not in mixed
|
||||
|
||||
|
||||
@pytest.mark.parametrize('state,color',[
|
||||
|
||||
Reference in New Issue
Block a user