Really fix test case for bug#737311

This commit is contained in:
Stuart D. Gathman
2011-06-17 14:28:07 -04:00
parent a203b29874
commit 2458f3824c
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -139,7 +139,7 @@ b/mPfjC0QJTocVBq6Za/PlzfV+Py92VaCak19F4WrbVTK5Gg5tW220MCAwEAAQ=="""
sig = dkim.sign(
message, b"test", b"example.com", self.key,
canonicalize=(header_algo, body_algo))
res = dkim.verify(sig + self.message, dnsfunc=self.dnsfunc)
res = dkim.verify(sig + message, dnsfunc=self.dnsfunc)
self.assertTrue(res)
def test_multiple_from_fails(self):