summaryrefslogtreecommitdiff
path: root/service/test/unit/maintenance
diff options
context:
space:
mode:
authorJefferson Stachelski <jstachel@thoughtworks.com>2015-05-05 18:15:30 -0300
committerJefferson Stachelski <jstachel@thoughtworks.com>2015-05-05 18:15:30 -0300
commit5373f6b9865648d4cef6a48294962cab08eda0c7 (patch)
treebfbceed4b8ac6215ff985f7009aca2ebc338e9e5 /service/test/unit/maintenance
parentcfcfae95d30ca8e40fe1c4ce5afc4b6d209ef358 (diff)
#337 Fixed the test adding a new behavior for add_mail_folder
Diffstat (limited to 'service/test/unit/maintenance')
-rw-r--r--service/test/unit/maintenance/test_commands.py1
1 files changed, 1 insertions, 0 deletions
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()