From 5373f6b9865648d4cef6a48294962cab08eda0c7 Mon Sep 17 00:00:00 2001 From: Jefferson Stachelski Date: Tue, 5 May 2015 18:15:30 -0300 Subject: #337 Fixed the test adding a new behavior for add_mail_folder --- service/test/unit/maintenance/test_commands.py | 1 + 1 file changed, 1 insertion(+) diff --git a/service/test/unit/maintenance/test_commands.py b/service/test/unit/maintenance/test_commands.py index 6f993106..f5c93dbc 100644 --- a/service/test/unit/maintenance/test_commands.py +++ b/service/test/unit/maintenance/test_commands.py @@ -111,4 +111,5 @@ class TestCommands(unittest.TestCase): def _mail_content(self, mail_file): with open(mail_file, 'r') as fp: m = email.message_from_file(fp) + m.set_payload(m.get_payload() + '\nINBOX') return m.as_string() -- cgit v1.2.3