commit | a0b44b5adb05e96e68297adcba39985b8f4dee61 | [log] [tgz] |
---|---|---|
author | R. David Murray <rdmurray@bitdance.com> | Thu Dec 02 21:47:19 2010 +0000 |
committer | R. David Murray <rdmurray@bitdance.com> | Thu Dec 02 21:47:19 2010 +0000 |
tree | 1015b86932a3a58250e2833d8fec977671eddf04 | |
parent | 52173d4959a1c1e961efab2522e4ba8a22a3c7c6 [diff] [blame] |
#8989: add 'domain' keyword to make_msgid. Patch by Adrian von Bidder.
diff --git a/Lib/email/test/test_email.py b/Lib/email/test/test_email.py index 5545abe..7993486 100644 --- a/Lib/email/test/test_email.py +++ b/Lib/email/test/test_email.py
@@ -2457,6 +2457,10 @@ text/rfc822-headers """) + def test_make_msgid_domain(self): + self.assertEqual( + email.utils.make_msgid(domain='testdomain-string')[-19:], + '@testdomain-string>') # Test the iterator/generators