[Bug 832404] [NEW] Test failing: test_accepted_message_gets_posted

Stephen A. Goss steveth45 at gmail.com
Wed Aug 24 00:32:43 CEST 2011


Public bug reported:

This test seems to be failing on both Ubuntu 11.04 with Python 2.7.1 and
Centos 6 with Python 2.6.5:

Failure in test test_accepted_message_gets_posted (mailman.app.tests.test_moderation.TestModeration)
Traceback (most recent call last):
  File "/usr/lib/python2.7/unittest/case.py", line 321, in run
    testMethod()
  File "/home/sgoss/launchpad/mailman/src/mailman/app/tests/test_moderation.py", line 99, in test_accepted_message_gets_posted
    """)
  File "/usr/lib/python2.7/unittest/case.py", line 503, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib/python2.7/unittest/case.py", line 496, in _baseAssertEqual
    raise self.failureException(msg)
AssertionError: 'From: anne at example.com\nTo: test at example.com\nMessage-ID: <alpha>\nX-Mailman-Approved-At: Mon, 01 Aug 2005 07:49:23 -0700\nSubject: [Test] hold me\nX-BeenThere: test at example.com\nPrecedence: list\nList-Id: <test.example.com>\nX-Message-ID-Hash: XZ3DGG4V37BZTTLXNUX4NABB4DNQHTCP\nList-Post: <mailto:test at example.com>\nList-Subscribe: <http://lists.example.com/listinfo/test@example.com>,\n <mailto:test-join at example.com>\nArchived-At: http://lists.example.com/archives/XZ3DGG4V37BZTTLXNUX4NABB4DNQHTCP\nList-Unsubscribe: <http://lists.example.com/listinfo/test@example.com>,\n <mailto:test-leave at example.com>\nList-Archive: <http://lists.example.com/archives/test@example.com>\nList-Help: <mailto:test-request at example.com?subject=help>\nX-MailFrom: test-bounces at example.com\nX-RcptTo: bart at example.com\n\n' != u'From: anne at example.com\nTo: test at example.com\nMessage-ID: <alpha>\nX-Mailman-Approved-At: Mon, 01 Aug 2005 07:49:23 -0400\nSubject: [Test] hold me\nX-BeenThere: test at example.com\nPrecedence: list\nList-Id: <test.example.com>\nX-Message-ID-Hash: XZ3DGG4V37BZTTLXNUX4NABB4DNQHTCP\nList-Post: <mailto:test at example.com>\nList-Subscribe: <http://lists.example.com/listinfo/test@example.com>,\n\t<mailto:test-join at example.com>\nArchived-At: http://lists.example.com/archives/XZ3DGG4V37BZTTLXNUX4NABB4DNQHTCP\nList-Unsubscribe: <http://lists.example.com/listinfo/test@example.com>,\n\t<mailto:test-leave at example.com>\nList-Archive: <http://lists.example.com/archives/test@example.com>\nList-Help: <mailto:test-request at example.com?subject=help>\nX-MailFrom: test-bounces at example.com\nX-RcptTo: bart at example.com\n\n'

** Affects: mailman
     Importance: Undecided
         Status: New


** Tags: mailman3

** Tags added: mailman3

-- 
You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.
https://bugs.launchpad.net/bugs/832404

Title:
  Test failing: test_accepted_message_gets_posted

To manage notifications about this bug go to:
https://bugs.launchpad.net/mailman/+bug/832404/+subscriptions


More information about the Mailman-coders mailing list