summaryrefslogtreecommitdiff
path: root/service/test/support
diff options
context:
space:
mode:
authorFolker Bernitt <fbernitt@thoughtworks.com>2015-07-21 15:12:41 +0000
committerFolker Bernitt <fbernitt@thoughtworks.com>2015-08-11 17:00:27 +0200
commit8d62e433994e65484f97dd4f89b2e4279ce4b3dd (patch)
tree9972fb585d16c91f807dd8cc509a283e57ed69b9 /service/test/support
parentba1d6edfc144c0549e88392a8414a147a9f30931 (diff)
Fixed test_mark_as_read_unread.py.
Diffstat (limited to 'service/test/support')
-rw-r--r--service/test/support/integration/app_test_client.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/service/test/support/integration/app_test_client.py b/service/test/support/integration/app_test_client.py
index a76d4948..9acef1bd 100644
--- a/service/test/support/integration/app_test_client.py
+++ b/service/test/support/integration/app_test_client.py
@@ -47,8 +47,8 @@ class AppTestClient(object):
ACCOUNT = 'test'
MAIL_ADDRESS = 'test@pixelated.org'
- def __init__(self):
- self.start_client()
+ # def __init__(self):
+ # self.start_client()
@defer.inlineCallbacks
def start_client(self):
@@ -210,7 +210,7 @@ class AppTestClient(object):
def mark_many_as_unread(self, idents):
res, req = self.post('/mails/unread', json.dumps({'idents': idents}))
- return req
+ return res
def mark_many_as_read(self, idents):
res, req = self.post('/mails/read', json.dumps({'idents': idents}))