aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_message.py
diff options
context:
space:
mode:
authorDavid Planella <david.planella@gmail.com>2009-01-29 00:22:52 +0100
committerDavid Planella <david.planella@gmail.com>2009-01-29 00:22:52 +0100
commit518b3843c0117f24b1b277a724169fb616604e4d (patch)
tree01ab5cbe392ff3a8e851dae1be4eb3a8cf8ed439 /tests/test_message.py
parent42fcf522d7818e9e1ee922d1a68824b0f6dcc83d (diff)
parentc0da6af58657b1fe5730d3dea0e78bc17dac490a (diff)
downloadmailman2-518b3843c0117f24b1b277a724169fb616604e4d.tar.gz
mailman2-518b3843c0117f24b1b277a724169fb616604e4d.tar.xz
mailman2-518b3843c0117f24b1b277a724169fb616604e4d.zip
Merged from upstream
Diffstat (limited to '')
-rw-r--r--tests/test_message.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_message.py b/tests/test_message.py
index da6f8a08..6a4cc3d2 100644
--- a/tests/test_message.py
+++ b/tests/test_message.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2001 by the Free Software Foundation, Inc.
+# Copyright (C) 2001-2008 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -81,10 +81,10 @@ yadda yadda yadda
# second message is the message/rfc822 attachment of the original
# message.
msg1 = qmsg.get_payload(0)
- eq(msg1.get_type(), 'text/plain')
+ eq(msg1.get_content_type(), 'text/plain')
eq(msg1.get_payload(), '[No bounce details are available]\n')
msg2 = qmsg.get_payload(1)
- eq(msg2.get_type(), 'message/rfc822')
+ eq(msg2.get_content_type(), 'message/rfc822')
unless(not msg2.is_multipart())
msg3 = msg2.get_payload()
eq(msg3.get_payload(), 'yadda yadda yadda\n')