From 8e57412dcd7fe8749ebed645e048309618ed01b5 Mon Sep 17 00:00:00 2001 From: Duda Dornelles Date: Thu, 18 Dec 2014 14:36:10 -0200 Subject: \#203 & #204 & #205: fixing client and api for buld mark as read/unread and delete, functional tests are still broken, investigating... --- service/test/support/integration/soledad_test_base.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'service/test/support/integration') 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): -- cgit v1.2.3