[PATCH 3/6] test: emacs: add test to verify that the message being replied to is tagged as such
Pieter Praet
pieter at praet.org
Sun Jul 10 08:55:32 PDT 2011
When a message is replied to, it should be tagged `replied'.
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 f277653..6479c4e 100755
--- a/test/emacs
+++ b/test/emacs
@@ -300,6 +300,10 @@ Reply to a message via Emacs with fake SMTP
EOF
test_expect_equal_file OUTPUT EXPECTED
+test_begin_subtest "Verify that 'replied' tag is added to reply's parent message."
+output=$(notmuch search 'tag:replied' | notmuch_search_sanitize)
+test_expect_equal "$output" "thread:XXX 2000-01-01 [1/2] Notmuch Test Suite; Testing message sent via SMTP (inbox replied)"
+
test_begin_subtest "Save attachment from within emacs using notmuch-show-save-attachments"
# save as archive to test that Emacs does not re-compress .gz
test_emacs '(let ((standard-input "\"attachment1.gz\""))
--
1.7.5.4
More information about the notmuch
mailing list