We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c75f7ed commit 9704226Copy full SHA for 9704226
tests/test_mail.py
@@ -53,8 +53,8 @@ def test_send_attach(self):
53
self.assertEqual(len(payload), 2)
54
55
text, attach = payload
56
- self.assertEqual(text.get_payload(decode=True), 'body')
57
- self.assertEqual(attach.get_payload(decode=True), 'content')
+ self.assertEqual(text.get_payload(decode=True), b'body')
+ self.assertEqual(attach.get_payload(decode=True), b'content')
58
59
def _catch_mail_sent(self, **kwargs):
60
self.catched_msg = dict(**kwargs)
0 commit comments