summaryrefslogtreecommitdiff
path: root/service/test/support
diff options
context:
space:
mode:
authorDuda Dornelles <ddornell@thoughtworks.com>2014-12-18 14:36:10 -0200
committerDuda Dornelles <ddornell@thoughtworks.com>2014-12-18 14:37:14 -0200
commit8e57412dcd7fe8749ebed645e048309618ed01b5 (patch)
treed736ae52d3fbffee06e482b19702c78041c83f71 /service/test/support
parent2d07349df9eb7fd3a197c0c3a9f7180af441f82c (diff)
\#203 & #204 & #205: fixing client and api for buld mark as read/unread and delete, functional tests are still broken, investigating...
Diffstat (limited to 'service/test/support')
-rw-r--r--service/test/support/integration/soledad_test_base.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/service/test/support/integration/soledad_test_base.py b/service/test/support/integration/soledad_test_base.py
index a000349e..6368d3e8 100644
--- a/service/test/support/integration/soledad_test_base.py
+++ b/service/test/support/integration/soledad_test_base.py
@@ -71,15 +71,7 @@ class SoledadTestBase(unittest.TestCase):
return req
def delete_mails(self, idents):
- res, req = self.client.delete("/mails", json.dumps({'idents': idents}))
- return req
-
- def mark_as_read(self, mail_ident):
- res, req = self.client.post("/mail/%s/read" % mail_ident)
- return req
-
- def mark_as_unread(self, mail_ident):
- res, req = self.client.post("/mail/%s/unread" % mail_ident)
+ res, req = self.client.post("/mails/delete", json.dumps({'idents': idents}))
return req
def mark_many_as_unread(self, idents):