summaryrefslogtreecommitdiff
path: root/service/test/unit/adapter/test_mail.py
diff options
context:
space:
mode:
authorNavaL <mnandri@thoughtworks.com>2016-01-08 17:52:32 +0100
committerNavaL <mnandri@thoughtworks.com>2016-01-11 16:56:29 +0100
commit64106a5d6b589616db5ddd07f383b74c66e0b39d (patch)
treec18e5338981a61bf36fb4e0244d00fd44b35214f /service/test/unit/adapter/test_mail.py
parentf07aa46453a311010dad3218689891f91f76e3fc (diff)
fixed filesize bug
Issue #573
Diffstat (limited to 'service/test/unit/adapter/test_mail.py')
-rw-r--r--service/test/unit/adapter/test_mail.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/test/unit/adapter/test_mail.py b/service/test/unit/adapter/test_mail.py
index 4a36bd42..6e4943fa 100644
--- a/service/test/unit/adapter/test_mail.py
+++ b/service/test/unit/adapter/test_mail.py
@@ -55,8 +55,8 @@ def multipart_mail_dict():
def with_attachment_mail_dict():
return {
- 'attachments': [{'content-type': 'text/plain', 'filename': 'ayoyo.txt', 'raw': 'Hamburg Ayoyoyooooo!!!', 'id': 'some_attachment_id'},
- {'content-type': 'text/html', 'filename': 'hello.html', 'raw': '<p>Hello html Hamburg!</p>', 'id': 'other_attachment_id'}],
+ 'attachments': [{'content-type': 'text/plain', 'name': 'ayoyo.txt', 'raw': 'Hamburg Ayoyoyooooo!!!', 'ident': 'some_attachment_id'},
+ {'content-type': 'text/html', 'name': 'hello.html', 'raw': '<p>Hello html Hamburg!</p>', 'ident': 'other_attachment_id'}],
'body': [{'content-type': 'plain', 'raw': 'Hello world!'},
{'content-type': 'html', 'raw': '<p>Hello html world!</p>'}],
'header': {