Update test data and test harness for test_verify_third_party - now it passes
This commit is contained in:
1 parent
3209be62d1
commit
6bbbdf9b22
2 files changed
+4
-1
No files matched your search
@@ -7,5 +7,8 @@ Received: from jgh by myhost.test.ex with local (Exim x.yz)
|
|||||||
1dtXln-0000YP-Hb
|
1dtXln-0000YP-Hb
|
||||||
[email protected]; Sun, 17 Sep 2017 12:29:51 +0100
|
[email protected]; Sun, 17 Sep 2017 12:29:51 +0100
|
||||||
From: [email protected]
|
From: [email protected]
|
||||||
|
Message-Id: <[email protected]>
|
||||||
|
Sender: CALLER_NAME <[email protected]>
|
||||||
|
Date: Sun, 17 Sep 2017 12:29:51 +0100
|
||||||
|
|
||||||
content
|
content
|
||||||
@@ -100,7 +100,7 @@ p=yi50DjK5O9pqbFpNHklsv9lqaS0ArSYu02qp1S0DW1Y=""",
|
|||||||
|
|
||||||
def test_verify_third_party(self):
|
def test_verify_third_party(self):
|
||||||
# Message signed by prototype Exim implementation
|
# Message signed by prototype Exim implementation
|
||||||
res = dkim.verify(self.message2)
|
res = dkim.verify(self.message2, dnsfunc=self.dnsfunc)
|
||||||
self.assertTrue(res)
|
self.assertTrue(res)
|
||||||
|
|
||||||
def test_add_body_length(self):
|
def test_add_body_length(self):
|
||||||
|
|||||||
Reference in new issue
Block a user