summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorBruno Wagner Goncalves <bwagner@thoughtworks.com>2014-08-14 14:03:26 -0300
committerBruno Wagner Goncalves <bwagner@thoughtworks.com>2014-08-14 14:03:26 -0300
commita521d7da1aa68dc6f32f73d2b1331e40e7e80171 (patch)
tree740f2efbaa8a618fc08d03edc740e07ff2685a04 /service
parentff6aafebcc40d3b734da794e732a0b1cd3526964 (diff)
Fixed some identation issues
Diffstat (limited to 'service')
-rw-r--r--service/app/adapter/pixelated_mail.py2
-rw-r--r--service/test/adapter/mail_service_test.py30
2 files changed, 16 insertions, 16 deletions
diff --git a/service/app/adapter/pixelated_mail.py b/service/app/adapter/pixelated_mail.py
index cdfd9a29..99ba1ba8 100644
--- a/service/app/adapter/pixelated_mail.py
+++ b/service/app/adapter/pixelated_mail.py
@@ -47,7 +47,7 @@ class PixelatedMail:
tag_names = self._converted_tags(flags) + self._custom_tags(flags)
tags = []
for tag in tag_names:
- tags.append(Tag(tag))
+ tags.append(Tag(tag))
return tags
def _converted_tags(self, flags):
diff --git a/service/test/adapter/mail_service_test.py b/service/test/adapter/mail_service_test.py
index 8187e586..7f655147 100644
--- a/service/test/adapter/mail_service_test.py
+++ b/service/test/adapter/mail_service_test.py
@@ -9,21 +9,21 @@ from app.tags import Tag
class TestMailService(unittest.TestCase):
def _raw_mail(self):
- return {
- "header":
- {
- "to":["p@k.s"],
- "from":"a@y.t",
- "subject":"Test",
- "date":"2007-09-28T06:11:03-03:00"
- },
- "ident":6,
- "tags":["instagramer"],
- "status":[],
- "security_casing":{},
- "draft_reply_for":[],
- "body":"teste"
- }
+ return {
+ "header":
+ {
+ "to": ["p@k.s"],
+ "from": "a@y.t",
+ "subject": "Test",
+ "date": "2007-09-28T06:11:03-03:00"
+ },
+ "ident": 6,
+ "tags": ["instagramer"],
+ "status": [],
+ "security_casing": {},
+ "draft_reply_for": [],
+ "body": "teste"
+ }
def test_custom_tags_get_created_if_not_exists(self):
MailService._open_leap_session = lambda self: None