[PATCH v2 3/4] test: emacs: new test "notmuch-search: when reply is sent, parent message should be tagged 'replied'"
Pieter Praet
pieter at praet.org
Wed Feb 22 10:52:45 PST 2012
On Mon, 20 Feb 2012 16:20:28 +0400, Dmitry Kurochkin <dmitry.kurochkin at gmail.com> wrote:
> On Sun, 19 Feb 2012 21:38:27 +0100, Pieter Praet <pieter at praet.org> wrote:
> > When a message is replied to, it should be tagged `replied'.
> > ---
> > test/emacs | 5 +++++
> > 1 files changed, 5 insertions(+), 0 deletions(-)
> >
> > diff --git a/test/emacs b/test/emacs
> > index 0f4f42b..b0fb760 100755
> > --- a/test/emacs
> > +++ b/test/emacs
> > @@ -314,6 +314,11 @@ Reply to a message via Emacs with fake SMTP
> > EOF
> > test_expect_equal_file OUTPUT EXPECTED
> >
> > +test_begin_subtest "notmuch-search: when reply is sent, the parent message should be tagged 'replied'"
> > +# depends on subtest "notmuch-search: replying to a thread (sending)"
> > +output=$(notmuch search 'tag:replied' | notmuch_search_sanitize)
>
> Add subject:"testing message sent via SMTP" to the query to avoid
> potential collisions with other tests.
>
Good point.
Depends on the previous test though, which is postponed [1],
so I won't submit a v3 of this for the time being.
> Regards,
> Dmitry
>
> > +test_expect_equal "$output" "thread:XXX 2000-01-01 [1/2] Notmuch Test Suite; Testing message sent via SMTP (inbox replied)"
> > +
> > test_begin_subtest "Quote MML tags in reply"
> > message_id='test-emacs-mml-quoting at message.id'
> > add_message [id]="$message_id" \
> > --
> > 1.7.8.1
> >
Peace
--
Pieter
[1] id:"87k43e8zxb.fsf at praet.org"
More information about the notmuch
mailing list