[PATCH 2/3] test: emacs: add subtest "Verify that 'replied' tag is added to reply's parent message."
Pieter Praet
pieter at praet.org
Fri May 13 08:07:49 PDT 2011
Signed-off-by: Pieter Praet <pieter at praet.org>
---
test/emacs | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/test/emacs b/test/emacs
index 18d8322..c0fba52 100755
--- a/test/emacs
+++ b/test/emacs
@@ -142,6 +142,10 @@ On Fri, 29 Mar 1974 10:00:00 -0000, Notmuch Test Suite <test_suite at notmuchmail.o
Reply to a message via Emacs with fake SMTP"
+test_begin_subtest "Verify that 'replied' tag is added to reply's parent message."
+notmuch new > /dev/null # update message count
+output=$(notmuch search 'tag:replied' | notmuch_search_sanitize)
+test_expect_equal "$output" "thread:XXX 1974-03-29 [1/2] Notmuch Test Suite; Testing message sent via SMTP (inbox replied)"
test_begin_subtest "Save attachment from within emacs"
echo "./attachment" | test_emacs '(notmuch-show "id:cf0c4d610911171136h1713aa59w9cf9aa31f052ad0a at mail.gmail.com") (notmuch-show-save-attachments)' > /dev/null 2>&1
--
1.7.4.1
More information about the notmuch
mailing list