[PATCH] test: Force reply to use html2text for consistency
Tomi Ollila
tomi.ollila at iki.fi
Sun May 6 23:17:40 PDT 2012
On Mon, May 07 2012, David Bremner <david at tethera.net> wrote:
> Adam Wolfe Gordon <awg+notmuch at xvx.ca> writes:
>
>> The output of the HTML reply test in the emacs suite can vary
>> depending on which HTML renderers are installed on the machine running
>> the tests. The renderer that is always available is emacs's builtin
>> html2text function. In order to get consistency, force the test to use
>> html2text even if other renderers are available.
>
> pushed, and it seems to replicate the test results on the buildbot. If
> html2text ever gets less crappy I guess we'll have to redo the test
> data.
If html2text ever gets less crappy then we face the same problem -- users
with different emacs get different rendering output making tests fail
for some users.
Then we can do "(let ... (mm-text-html-renderer 'mm-insert-part))
to get html inserted unmodified; excerpt from test output using above:
-> Hi,This is an HTML test message.OK?
+> Hi,<br />This is an <b>HTML</b> test message.<br /><br />OK?
>
> d
Tomi
More information about the notmuch
mailing list