1.1 --- a/tests/test_sign_wrap.py Wed Jan 08 01:55:57 2014 +0100
1.2 +++ b/tests/test_sign_wrap.py Thu Jan 09 16:52:05 2014 +0100
1.3 @@ -4,6 +4,7 @@
1.4 from email.mime.application import MIMEApplication
1.5 from email.mime.base import MIMEBase
1.6 from email import message_from_string
1.7 +from MoinMessage import as_string
1.8 import sys
1.9
1.10 if __name__ == "__main__":
1.11 @@ -26,7 +27,7 @@
1.12
1.13 # Show the resulting message text.
1.14
1.15 - text = message.as_string()
1.16 + text = as_string(message)
1.17
1.18 print text
1.19