﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
11546	regressiontests.mail fails on Ubuntu 9.04	Richard Davies <richard.davies@…>	nobody	"I've downloaded SVN r11324 after the 1.1 release candidate, and am running the test suite on Ubuntu 9.04 against sqlite3. I get the following error:

{{{
$ ./runtests.py --settings=settings-sqlite mail
======================================================================
FAIL: Doctest: regressiontests.mail.tests
----------------------------------------------------------------------
Traceback (most recent call last):
  File ""/home/richard/tmp/trunk/django/test/_doctest.py"", line 2180, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for regressiontests.mail.tests
  File ""/home/richard/tmp/trunk/tests/regressiontests/mail/tests.py"", line 1, in tests

----------------------------------------------------------------------
File ""/home/richard/tmp/trunk/tests/regressiontests/mail/tests.py"", line 109, in regressiontests.mail.tests
Failed example:
    print msg.message().as_string()
Expected:
    Content-Type: multipart/mixed; boundary=""...""
    MIME-Version: 1.0
    Subject: hello
    From: from@example.com
    To: to@example.com
    Date: Fri, 09 Nov 2001 01:08:47 -0000
    Message-ID: foo
    ...
    Content-Type: multipart/alternative; boundary=""...""
    MIME-Version: 1.0
    ...
    Content-Type: text/plain; charset=""utf-8""
    MIME-Version: 1.0
    Content-Transfer-Encoding: quoted-printable
    ...
    This is an important message.
    ...
    Content-Type: text/html; charset=""utf-8""
    MIME-Version: 1.0
    Content-Transfer-Encoding: quoted-printable
    ...
    <p>This is an <strong>important</strong> message.</p>
    ...
    ...
    Content-Type: application/pdf
    MIME-Version: 1.0
    Content-Transfer-Encoding: base64
    Content-Disposition: attachment; filename=""an attachment.pdf""
    ...
    JVBERi0xLjQuJS4uLg==
    ...
Got:
    Content-Type: multipart/mixed; boundary=""===============1531250635939447231==""
    MIME-Version: 1.0
    Subject: hello
    From: from@example.com
    To: to@example.com
    Date: Fri, 09 Nov 2001 01:08:47 -0000
    Message-ID: foo
    <BLANKLINE>
    --===============1531250635939447231==
    Content-Type: multipart/alternative;
        boundary=""===============8480584666162200602==""
    MIME-Version: 1.0
    <BLANKLINE>
    --===============8480584666162200602==
    Content-Type: text/plain; charset=""utf-8""
    MIME-Version: 1.0
    Content-Transfer-Encoding: quoted-printable
    <BLANKLINE>
    This is an important message.
    --===============8480584666162200602==
    Content-Type: text/html; charset=""utf-8""
    MIME-Version: 1.0
    Content-Transfer-Encoding: quoted-printable
    <BLANKLINE>
    <p>This is an <strong>important</strong> message.</p>
    --===============8480584666162200602==--
    --===============1531250635939447231==
    Content-Type: application/pdf
    MIME-Version: 1.0
    Content-Transfer-Encoding: base64
    Content-Disposition: attachment; filename=""an attachment.pdf""
    <BLANKLINE>
    JVBERi0xLjQuJS4uLg==
    --===============1531250635939447231==--


----------------------------------------------------------------------
Ran 1 test in 0.019s

FAILED (failures=1)
}}}"		closed	Core (Mail)	dev		fixed		richard.davies@…	Accepted	0	0	0	0	0	0
