@@ -426,7 +426,7 @@ def test_send_attachment_mime_base(self, render_mock):
426
426
attachments = [MIMEImage (TXT_FILE , 'text/plain' )])
427
427
attachment = mail .outbox [0 ].attachments [0 ]
428
428
self .assertEqual (decode_b64_msg (attachment .get_payload ()),
429
- TXT_FILE )
429
+ TXT_FILE )
430
430
431
431
@patch .object (
432
432
template_backend_klass , '_render_email' ,
@@ -439,7 +439,7 @@ def test_send_attachment_tripple(self, render_mock):
439
439
attachments = [('black_pixel.png' , TXT_FILE , 'text/plain' )])
440
440
attachment = mail .outbox [0 ].attachments [0 ]
441
441
self .assertEqual (('black_pixel.png' , TXT_FILE , 'text/plain' ),
442
- attachment )
442
+ attachment )
443
443
444
444
@patch .object (
445
445
template_backend_klass , '_render_email' ,
@@ -453,7 +453,7 @@ def test_get_email_message_attachment_mime_base(self, mock):
453
453
attachments = [MIMEImage (TXT_FILE , 'text/plain' )])
454
454
attachment = message .attachments [0 ]
455
455
self .assertEqual (decode_b64_msg (attachment .get_payload ()),
456
- TXT_FILE )
456
+ TXT_FILE )
457
457
458
458
@patch .object (
459
459
template_backend_klass , '_render_email' ,
@@ -467,7 +467,7 @@ def test_get_email_message_attachment_tripple(self, mock):
467
467
attachments = [('black_pixel.png' , TXT_FILE , 'text/plain' )])
468
468
attachment = message .attachments [0 ]
469
469
self .assertEqual (('black_pixel.png' , TXT_FILE , 'text/plain' ),
470
- attachment )
470
+ attachment )
471
471
472
472
def test_removal_of_legacy (self ):
473
473
try :
0 commit comments