summaryrefslogtreecommitdiff
path: root/service/test
diff options
context:
space:
mode:
Diffstat (limited to 'service/test')
-rw-r--r--service/test/adapter/mail_service_test.py1
-rw-r--r--service/test/adapter/pixelated_mailbox_test.py1
-rw-r--r--service/test/adapter/test_helper.py1
-rw-r--r--service/test/adapter/test_status.py1
4 files changed, 3 insertions, 1 deletions
diff --git a/service/test/adapter/mail_service_test.py b/service/test/adapter/mail_service_test.py
index b6ee3381..7c928ec4 100644
--- a/service/test/adapter/mail_service_test.py
+++ b/service/test/adapter/mail_service_test.py
@@ -21,6 +21,7 @@ import test_helper
from pixelated.adapter.tag import Tag
from pixelated.adapter.pixelated_mailbox import PixelatedMailbox
+
class TestMailService(unittest.TestCase):
@patch.object(MailService, 'set_flags', return_value=None)
diff --git a/service/test/adapter/pixelated_mailbox_test.py b/service/test/adapter/pixelated_mailbox_test.py
index 6604e737..33cac5b9 100644
--- a/service/test/adapter/pixelated_mailbox_test.py
+++ b/service/test/adapter/pixelated_mailbox_test.py
@@ -21,6 +21,7 @@ import test_helper
from pixelated.adapter.tag import Tag
from pixelated.adapter.pixelated_mailbox import PixelatedMailbox
+
class TestPixelatedMailbox(unittest.TestCase):
@patch.object(MailService, 'set_flags', return_value=None)
diff --git a/service/test/adapter/test_helper.py b/service/test/adapter/test_helper.py
index 2c44b8f8..ae4bf887 100644
--- a/service/test/adapter/test_helper.py
+++ b/service/test/adapter/test_helper.py
@@ -32,6 +32,7 @@ def leap_mail(uid=0, leap_flags=LEAP_FLAGS, extra_flags=[], headers={'date': str
bdoc=Mock(content={'raw': 'test'}),
hdoc=Mock(content={'headers': headers}))
+
def leap_mailbox(leap_flags=LEAP_FLAGS, extra_flags=[]):
flags = leap_flags + extra_flags
return Mock(getFlags=Mock(return_value=flags))
diff --git a/service/test/adapter/test_status.py b/service/test/adapter/test_status.py
index b39d4846..18648719 100644
--- a/service/test/adapter/test_status.py
+++ b/service/test/adapter/test_status.py
@@ -32,4 +32,3 @@ class TestStatus(unittest.TestCase):
def test_bulk_conversion(self):
statuses = Status.from_flags(['\\Answered', '\\Seen', '\\Recent', 'tag_a_custom'])
self.assertEquals(set([Status('read'), Status('replied')]), statuses)
-