#11546: regressiontests.mail fails on Ubuntu 9.04
--------------------------------------------------------------+-------------
 Reporter:  Richard Davies <[email protected]>  |       Owner:  
nobody    
   Status:  new                                               |   Milestone:  
1.1       
Component:  django.core.mail                                  |     Version:  
SVN       
 Keywords:                                                    |       Stage:  
Unreviewed
Has_patch:  0                                                 |  
--------------------------------------------------------------+-------------
 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: [email protected]
     To: [email protected]
     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: [email protected]
     To: [email protected]
     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)
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/11546>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to