1.1 --- a/tests/test_verify.py Wed Jan 08 01:55:57 2014 +0100
1.2 +++ b/tests/test_verify.py Thu Jan 09 16:52:05 2014 +0100
1.3 @@ -1,6 +1,6 @@
1.4 #!/usr/bin/env python
1.5
1.6 -from MoinMessage import GPG
1.7 +from MoinMessage import GPG, as_string
1.8 from email.parser import Parser
1.9 import sys
1.10
1.11 @@ -12,6 +12,6 @@
1.12 gpg = GPG(sys.argv[1])
1.13 else:
1.14 gpg = GPG()
1.15 - print gpg.verifyMessageText(signature.get_payload(), content.as_string())
1.16 + print gpg.verifyMessageText(signature.get_payload(decode=True), as_string(content))
1.17
1.18 # vim: tabstop=4 expandtab shiftwidth=4