test_accepted_message_gets_posted failing on Centos 6 / Python 2.6

Bug #833208 reported by Stephen A. Goss on 2011-08-24
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
Low
Barry Warsaw

Bug Description

This test seems to still be failing on Centos 6 / Python 2.6.5 for other reasons:

Failure in test test_accepted_message_gets_posted (mailman.app.tests.test_moderation.TestModeration)
Traceback (most recent call last):
  File "/usr/lib64/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/home/sgoss/mailman_clone/src/mailman/app/tests/test_moderation.py", line 107, in test_accepted_message_gets_posted
    """)
  File "/usr/lib64/python2.6/unittest.py", line 350, in failUnlessEqual
    (msg or '%r != %r' % (first, second))
AssertionError: 'From: <email address hidden>\nTo: <email address hidden>\nMessage-ID: <alpha>\nSubject: [Test] hold me\nX-BeenThere: <email address hidden>\nPrecedence: list\nList-Id
: <test.example.com>\nX-Message-ID-Hash: XZ3DGG4V37BZTTLXNUX4NABB4DNQHTCP\nList-Post: <mailto:<email address hidden>>\nList-Subscribe: <http://<email address hidden>>,\n\t<mailto:<email address hidden>>\nArchived-At: http://lists.example.com/archives/XZ3DGG4V37BZTTLXNUX4NABB4DNQHTCP\nList-Unsubscribe: <http://<email address hidden>>,\n\t<mailto:<email address hidden>>\nList-Archive: <http://<email address hidden>>\nList-Help: <mailto:<email address hidden>?subject=help>\nX-MailFrom: <email address hidden>\nX-RcptTo: <email address hidden>\n\n' != u'From: <email address hidden>\nTo: <email address hidden>\nMessage-ID: <alpha>\nSubject: [Test] hold me\nX-BeenThere: <email address hidden>\nPrecedence: list\nList-Id: <test.example.com>\nX-Message-ID-Hash: XZ3DGG4V37BZTTLXNUX4NABB4DNQHTCP\nList-Post: <mailto:<email address hidden>>\nList-Subscribe: <http://<email address hidden>>,\n <mailto:<email address hidden>>\nArchived-At: http://lists.example.com/archives/XZ3DGG4V37BZTTLXNUX4NABB4DNQHTCP\nList-Unsubscribe: <http://<email address hidden>>,\n <mailto:<email address hidden>>\nList-Archive: <http://<email address hidden>>\nList-Help: <mailto:<email address hidden>?subject=help>\nX-MailFrom: <email address hidden>\nX-RcptTo: <email address hidden>\n\n'

tags: added: mailman3
Barry Warsaw (barry) wrote :

Okay, I know what this is. It's the stupid email package rewrap-using-tabs bug. I'll fix the test.

Changed in mailman:
status: New → Confirmed
importance: Undecided → Low
assignee: nobody → Barry Warsaw (barry)
milestone: none → 3.0.0a8
Barry Warsaw (barry) on 2011-09-07
Changed in mailman:
status: Confirmed → Fix Committed
Barry Warsaw (barry) on 2011-09-25
Changed in mailman:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers